aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'roverlay/recipe/easylogger.py')
-rw-r--r--roverlay/recipe/easylogger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roverlay/recipe/easylogger.py b/roverlay/recipe/easylogger.py
index 2b6281b..a782eec 100644
--- a/roverlay/recipe/easylogger.py
+++ b/roverlay/recipe/easylogger.py
@@ -129,7 +129,7 @@ def setup_file ( conf ):
logfile = conf.get ( 'LOG.FILE.file' )
if not logfile or not conf.get ( 'LOG.FILE.enabled', True ): return
- rotating = conf.get ( 'LOG.FILE.rotate', False )
+ rotating = conf.get ( 'LOG.FILE.rotate', True )
logdir = os.path.dirname ( logfile )
if not os.path.isdir ( logdir ):
@@ -151,7 +151,7 @@ def setup_file ( conf ):
fh = logging.handlers.RotatingFileHandler (
logfile,
- backupCount=conf.get ( 'LOG.FILE.rotate_count', 3 )
+ backupCount=conf.get ( 'LOG.FILE.rotate_count', 5 )
)
if rotate_now:
fh.doRollover()