brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: journalctl -o short-full prints time stamps with weekday, year and time zone

Journalctl
~/tips/tip-journalctl-output-short-full-timestamps

journalctl -o short-full -u myapp

Shows complete time stamps that you can paste straight into --since and --until.

The default time stamp has no year and no time zone, and that is exactly what I miss when a log travels to someone else.

short-full adds the weekday, the year and the time zone to every line, for example Thu 2026-11-26 19:01:17 UTC. The man page notes that this is the format --since and --until accept, so you can copy a stamp straight into the next command.

journalctl -o short-full -u myapp

The lines get longer, which is fine in a file and tiring in a narrow terminal. Use it when you share a log or write down an incident.

Further reading: journalctl(1) manual page, systemd.time(7) manual page

More Journalctl tips journalctl -k -g 'killed process' --since "2 days ago" journalctl _PID=1 -b ls -lh /var/log/journal/*/*.journal~ Storage=volatile sudo journalctl --setup-keys All Journalctl tips (81) All topics

Link