4 ms·
No, just close and re-open the file when you receive a specific signal, generally SIGHUP, from logrotate or any equivalent tool.
by darthShadow 5y ago
No, just close and re-open the file when you receive a specific signal, generally SIGHUP, from logrotate or any equivalent tool.
- vbezhenar 5y agoI don't think that Java can handle UNIX signals, at least without some internal API.