diff options
| author | Michael Hendricks <[email protected]> | 2012-03-02 12:31:16 -0700 |
|---|---|---|
| committer | Michael Hendricks <[email protected]> | 2012-05-18 16:20:03 -0600 |
| commit | 9af080c351c40a4f56d37174253d33a9f4ffdb69 (patch) | |
| tree | b3b9f85c0f7cbca2ca880ba36a5e4bbca8e006d0 /src/key.cpp | |
| parent | Serialize access to debug.log stream (diff) | |
| download | discoin-9af080c351c40a4f56d37174253d33a9f4ffdb69.tar.xz discoin-9af080c351c40a4f56d37174253d33a9f4ffdb69.zip | |
Reopen debug.log on SIGHUP
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.
Diffstat (limited to 'src/key.cpp')
0 files changed, 0 insertions, 0 deletions