Hacker News new | past | comments | ask | show | jobs | submit login

My issue with host and version at the beginning of the log is that they'll roll away when your logs rotate. If you've got a service that's rarely taken down, anything written to the front of the logs is likely long gone by the time you have a problem. That said, there may be a better way to handle these two. I certainly don't like repeating information if it's not necessary.



You could just print the version, etc. again when logrotate sends your daemon a SIGHUP.


Ahh... never thought of doing that. I like it.


> I certainly don't like repeating information if it's not necessary.

On what grounds?




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: