diff options
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 0cd0133..52cda84 100644 --- a/src/util.cpp +++ b/src/util.cpp | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | 8 | ||
| 9 | bool fDebug = false; | 9 | bool fDebug = false; |
| 10 | 10 | ||
| 11 | // In-process cap for debug.log, in bytes. Default matches the 1G trigger of | ||
| 12 | // the shipped logrotate policy so a long-running node stays bounded even | ||
| 13 | // without it; -maxdebugfilesize=N (MB) tunes it, 0 disables. | ||
| 14 | int64 nMaxDebugFileSize = 1024 * 1024 * (int64)1024; | ||
| 15 | |||
| 11 | // --------------------------------------------------------------------------- | 16 | // --------------------------------------------------------------------------- |
| 12 | // Categorized, burst-collapsing logging -- see the LogPrint doc comment in | 17 | // Categorized, burst-collapsing logging -- see the LogPrint doc comment in |
| 13 | // util.h for the problem this solves. | 18 | // util.h for the problem this solves. |