3 ms·
FWIW, if you can get away with it, it's nice to have your log writer check if the file has been rotated when writing if it's been 60 seconds or more since the l
by toast0 4y ago
FWIW, if you can get away with it, it's nice to have your log writer check if the file has been rotated when writing if it's been 60 seconds or more since the last check; this allows you to avoid signalling, although you do need to wait to compress the logs, if log compression is part of your rotation.