This is definitely the best writeup about the problems that exist with the conveyor-belt-style log rotation driven by logrotate and most default log rotation schemes, and explains a lot of the frustrations with how our logging currently works:
http://sial.org/howto/logging/rotate/
Their solution suggestion is pretty clear; just switch to logging based on time-based buckets in the first place, so you don't need to do conveyor belt rotation and can always find where the right logs are.
"given the choice of a logrotate scheme, I would first recommend time based buckets, second a startup time scheme, and never hindsight conveyer belt rotation."
Wednesday, April 8, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment