Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's the command it sounds like you're looking for:

`journalctl --grep="search string"`

You can limit it by time period like this:

`journalctl --since=-6h --grep="search string"`

Note that there's a separate user journal (such as for things that show up with an indication in the systray), accessible like this when in a shell as that user:

`journalctl --user --since=-6h --grep="search string"`

Also, if you really want, SysV still exists and works. You can setup a system with SysV and syslog-ng and have the good ol' service run system and flat log files back.



Thanks, but today I avoid troubleshooting it, I just accept the roadblocks and escape to my windows+msys2 installation as soon as possible. I find this combination a better gnu-based system and better upside / downside balance, which is all I need on desktop. Even logs usually get written to text files cause windows system logs are rarely used by regular apps and unixy services.

I’m not a gnu vs linux pedant, but gnu never let me down like that, and linux is really just an implementation detail underneath that I’m free to replace without compromising key functionality.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: