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

I'm still mad I can't just `tail -f`


    journalctl -f
On the flip side, now you get structured logging, efficiently-searchable logs over any of those fields, the ability to easily aggregate logs from multiple machines, the ability to accurately iterate over logs in processes without missing entries, and on and on and on.

Logs as a database is wildly superior to logs as a plain text file, with virtually the only downside being that you need a specific program to tail them.


> the only downside being that you need a specific program to tail them.

The journal can output to text files as well!

But this is exactly it, my only issue is the ideological one that there is no spec for the database. The implementation is the specification, so the only true way of building a reader of logs is to implement the journal. There are attempts to document the layout but if there is any difference then you can't submit a bug to get the layout corrected but the implementation isn't wrong.

I can think of plenty of other applications with bigger issues than that. But I think can still want the defacto log for Linux to have an official spec.


I can totally agree with you there!


journalctl -f?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: