Browse Source
The best log rotation method formerly available was to configure logrotate with the copytruncate option. As described in the logrotate documentation, "there is a very small time slice between copying the file and truncating it, so some logging data might be lost". By sending SIGHUP to the server process, one can now reopen the debug log file without losing any data.0.8
Michael Hendricks
13 years ago
3 changed files with 21 additions and 1 deletions
Loading…
Reference in new issue