journalctl is the one part of systemd I really do not like. For whatever reason, it’s insanely slow, taking multiple seconds before it gets around to display anything. It also has all the wrong defaults, displaying error messages from a year ago first, while scrolling to the bottom again also takes forever and consumes 100% CPU while doing so.
There are flags to filter and display only the relevant parts, but not only are none of them intuitive, doing a mistake there just gives you “-- No entries --”, not an error. So you can never quite tell if you typed it wrong or if were are no messages.
Maybe it all makes more sense when studying the man page in depths and learned all the quirks, but /var/log/ kind of just worked and was fast, without any extra learning.
I’m in Guix Linux land right now and I miss
journald
. I’m supposed to wade through all the log files in/var/log
myself??journalctl is the one part of systemd I really do not like. For whatever reason, it’s insanely slow, taking multiple seconds before it gets around to display anything. It also has all the wrong defaults, displaying error messages from a year ago first, while scrolling to the bottom again also takes forever and consumes 100% CPU while doing so.
There are flags to filter and display only the relevant parts, but not only are none of them intuitive, doing a mistake there just gives you “-- No entries --”, not an error. So you can never quite tell if you typed it wrong or if were are no messages.
Maybe it all makes more sense when studying the man page in depths and learned all the quirks, but /var/log/ kind of just worked and was fast, without any extra learning.
I still have no idea how to find the right record to read but at least I can run a journalctl --follow till my crash happens
If that approach is enough then
tail -f /var/log/*
could work too with multiple files, it’ll “follow” all the files and display only new lines.Try https://lnav.org/
You configured your logging. You could have made them all one file.
Uh, sorry. I don’t follow. Is there a way to tell all programs to write to one file in Guix?
Yea, symlink all the files to the same master log file. … /s