Skip to content

Commit

Permalink
Make logs rotate again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheeo committed Mar 12, 2016
1 parent 926133f commit 5860a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def is_beta():
make_dirs()
rotate = RotatingFileHandler(os.path.join(Settings.get('client/logs/path'), 'forever.log'),
maxBytes=int(Settings.get('client/logs/max_size')),
backupCount=0)
backupCount=1)
rotate.setFormatter(logging.Formatter('%(asctime)s %(levelname)-8s %(name)-30s %(message)s'))

buffering_handler = MemoryHandler(int(Settings.get('client/logs/buffer_size')), target=rotate)
Expand Down

0 comments on commit 5860a65

Please sign in to comment.