aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorLeo Sadovsky <lsadovski@oboz.com>2023-01-20 14:29:41 +0300
committerLeo Sadovsky <lsadovski@oboz.com>2023-01-20 14:29:41 +0300
commit080c289a8a29244bd46cf029eefabbe426ddd00b (patch)
tree82da8ef4995a13e4d51ecf0ba2d5644695194528 /setup
parentd2237d91de4dd655a38e9078708eec38906470e0 (diff)
downloadtrackermap-server-080c289a8a29244bd46cf029eefabbe426ddd00b.tar.gz
trackermap-server-080c289a8a29244bd46cf029eefabbe426ddd00b.tar.bz2
trackermap-server-080c289a8a29244bd46cf029eefabbe426ddd00b.zip
Added the config parameter `logger.rotate.interval = ['day', 'hour']` that regulates the rotation frequency.
The default value is 'day' for backwards compatibility
Diffstat (limited to 'setup')
-rw-r--r--setup/default.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/default.xml b/setup/default.xml
index c00d29384..f2ca45fc3 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -24,6 +24,7 @@
<entry key='logger.level'>info</entry>
<entry key='logger.file'>./logs/tracker-server.log</entry>
<entry key='logger.rotate'>true</entry>
+ <entry key='logger.rotate.interval'>day</entry>
<entry key='filter.enable'>true</entry>
<entry key='filter.future'>86400</entry>