From c3f421e4046faf8b5f39cd1ad36bc4869405fcc9 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 1 Jun 2019 19:11:00 +0100 Subject: 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. --- blabouncer.conf.example | 3 +++ 1 file changed, 3 insertions(+) (limited to 'blabouncer.conf.example') 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 /debug.txt) debug = "2" + +# Number of debug logs to keep +debugkeep = "5" -- cgit v1.2.3