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

Never tried it, but if the complainer wrote: tail -f *.logs

Which involves glob’ing. I assume it allows to monitor several services at the same time.

Can systemd do that?



Yes, journalctl -u postgres -u redis -f etc


Or just `journalctl -f` to follow all logs.


It's the basic function what journalctl -f does by default: follow the global log all jobs write into. -u etc are for filtering that.




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

Search: