Re:Systemd Wants to Expand to Include a Sudo Replacement
by sunshowers on Tuesday April 30, 2024 @04:40PM
(#40216065)
I've recently become a fan of the `-x` flag to journalctl, which adds additional context to log entries and even suggests remediations at times. I've identified and fixed several issues on my Linux systems that way. Kind of hard to get that with tail -f!
[ Parent
| on HN ]
Re:Systemd Wants to Expand to Include a Sudo Replacement
by aeonik on Tuesday April 30, 2024 @06:51PM
(#40217427)
How does it work? Can I pipe non-journald logs into the -x flag to take advantage of this lookup?
Re:Systemd Wants to Expand to Include a Sudo Replacement
by dumpsterdiver on Tuesday April 30, 2024 @06:31PM
(#40217224)
My goto is journalctl -xf. Best of both worlds :)