summaryrefslogtreecommitdiff
path: root/blabouncer.conf.example
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-06-01 19:11:00 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-06-01 19:11:00 +0100
commitc3f421e4046faf8b5f39cd1ad36bc4869405fcc9 (patch)
tree5d2c8575076a82b6ebe518c91fb14a339e92fe7c /blabouncer.conf.example
parent0c153207be8a31fc66b7f6e9d0b849357017e34a (diff)
Put debug logs in subdirectory and have max number to keep be configurable. Also fix possible crash in debugprint() if debug directory doesn't exist yet.
Diffstat (limited to 'blabouncer.conf.example')
-rw-r--r--blabouncer.conf.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/blabouncer.conf.example b/blabouncer.conf.example
index dd98c72..f4de92e 100644
--- a/blabouncer.conf.example
+++ b/blabouncer.conf.example
@@ -69,3 +69,6 @@ replaylogging = "1"
# Debug verbosity ("0" for critical only, "1" for some extra info, "2" for full debug mode)
# (All output goes to <basedir>/debug.txt)
debug = "2"
+
+# Number of debug logs to keep
+debugkeep = "5"