six demon bag
Wind, fire, all that kind of thing!
Recently I was tasked with forwarding logs to a central
log server - in this case JVM garbage collector logs
from Solr instances. Normally not a big deal. Configure log rotation (to
avoid filling the disk), then have rsyslog read the active
log file via an
Sounds simple, right? Until you realize that JVM log rotation
marks the active log with the extension
.current and rotates that
extension instead of actually rotating the logs.
Posted 23:23 [permalink]