My Profile Photo

Personal Webpage of David Duggins


Well, I was born on a normal day in July, 1981 and have been creating chaos ever since. Born in North Carolina, but raised in the aftermath of the Soviet Union, Kazakhstan, I have been messing around with computers nearly my entire life. I wrote my first program in assembly when I was 11. In my early teens I ran a BBS connected to Fidonet and started building a website for my band. In 1999 I was introduced to Linux, and it was love at first compile. I started my career in IT in the early 2000's doing IT for a Car Dealership in Charlotte NC. I wrote my first major web app in Cold Fusion (an ecom app) at that time. In 2006 I left Charlotte and moved down to Columbia where starting working as a developer, freelancer and consultant. Currently I am working as a freelance developer and DevOps consultant!!


Lnav to View Docker Logs

So, using this as a means to document stuff that I like so that I do not forget it later! I find a really cool tool last year called lnav. It’s a logging tool for the command line. A neat thing about it is that you can pipe docker logs through it and get a great, easy to navigate system for parsing the logs….it’s a bit like Papertrail.

So sudo apt install lnav

And once you have it installed, just running lnav loads the local logs. Or sudo docker-compose logs | lnav will pipe the Docker logs through lnav and give you a pretty little stream!

© 2024 David Duggins. All rights reserved.