2 ms·
Out of interest, why wouldn't you configure logrotate on the machine itself, rather than making this an application concern? Presumably logrotate was already s
by glenjamin 11y ago
Out of interest, why wouldn't you configure logrotate on the machine itself, rather than making this an application concern?
Presumably logrotate was already set up for the variety of other logs on the system?
- icebraining 11y agoI was curious too, though it seems log4j just keeps writing to the old log (it doesn't re-open the file on SIGHUP), and copytruncate is not completely safe from data loss.