Hacker News new | ask | show | jobs
by UI_at_80x24 1320 days ago
>One of the things I haven't figured out yet is if traditional logging systems can easily do advanced log filtering like showing only logs from the current boot (like -b in systemd), previous boots (-b -1), and showing logs after a specific date and time (--since).

I manage this with clever usage of grep. You are correct in that there isn't a single --flag that will only show me those specifics.

1 comments

> I manage this with clever usage of grep. You are correct in that there isn't a single --flag that will only show me those specifics.

I can grep my way through text logs as well but being able to get logs for different purposes using --flags is better user experience. I can always resort to to using grep, sed, and awk if I want to when using journald but the loss of these quality of life features make it hard for me to consider using a distro that does not have systemd.