Keeping a daily journal is a great way to increase your effectiveness as a developer. My tool of choice for developer journaling is jrnl.sh.
Why Keep a Log
About a year ago, I started writing a daily (usually hourly) work log. Looking back on the year, I am pretty happy with the results.
My main reasons are:
Breaks and interruptions. Coming back to a task after stepping away bears a startup cost. Keeping a trail on recent actions for a given task reduces the burden of returning to work.
Bugs come back. Infrequent tasks are difficult to remember. “How did we do this last time?” is a common question on any development team.
Project management apps target teams rather than individuals. Trello is useful for information dissemination, but things can turn TMI real fast if you use it as a public work log. It’s not always the right place for personal brain dumps.
Journaling makes debugging easier. Gathering observations, predictions and test results is a good way to pin down elusive bugs. For some bugs, it’s overkill, but for hard to isolate issues, it’s helpful.
Here’s a real example from my logbook last month:
Messages do not arrive in the message queue. No messages are visible in the
message broker admin panel.
The recent update to our auth plugin stopped messages from arriving
and is probably not a network or client issue. Disabling the plugin *should*
allow messages to pass through.
Temporarily disabling the auth plugin on my development environment.
Removing the auth plugin will allow messages to pass through
(Logs redacted for clarity)
The auth plugin (or its configuration) is probably contributing
to the issue. Network issues are unlikely.
Why Jrnl and Not X?
I tried other GUI and Web-based journaling tools but found it to be a distraction from development work. Logging into a Web service or having yet another desktop window open was a distraction. I found paper log books to be more usable, but they were easily left at home or lost.
As an offline app for the command line, Jrnl was the least intrusive option and I was finally able to ditch my paper notebook.
Jrnl follows the
“Unix Philosophy”. It has the
right amount of features and operates on a text file, typically
can easily pipe the contents through tools like
grep. Backup is a
trivial task. There are no signups or complicated file formats.
The most basic commands are:
pip install jrnl.
- New entry:
- Read 10 entries:
jrnl -n 10
Using Jrnl as a daily software development log has increased my productivity immensely. I hope you give it a try as well. If you have any journaling tips of your own to share, please drop me a line on Lobste.rs or Reddit.