aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-05-17 11:55:16 +0100
committerGravatar Sadie Powell2022-05-17 11:56:02 +0100
commit1a846e0b8e4c9d983576419dbdd09ba8e30efcbc (patch)
treebbcd367e8745d94d096436965bc8d942220196f2 /src/logging.cpp
parentOnly give timers a trigger time when they're actually registered. (diff)
Fix not ticking the log timers after the first tick.
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index 11ccbeb27..83d4322e3 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -44,7 +44,7 @@ const char* Log::LevelToString(Log::Level level)
}
Log::FileMethod::FileMethod(const std::string& n, FILE* fh, unsigned long fl, bool ac)
- : Timer(15*60)
+ : Timer(15*60, true)
, autoclose(ac)
, file(fh)
, flush(fl)