Roundup Tracker - Issues

Message6795

Author rouilj
Recipients matt109, rouilj
Date 2019-11-03.23:26:04
Message-id <1572823564.9.0.368341164354.issue2551017@roundup.psfhosted.org>
In-reply-to
Actually I may have an idea. Change:

[handler_basic]
class=StreamHandler
args=(sys.stderr,)
formatter=plain

to

[handler_basic]
class=logging.handlers.RotatingFileHandler
args=('demo.log', 'a', 512000, 2)
formatter=plain

I'll bet running as a service requires that nothing to to 
stdout/stderr.

Also you probably want to drop:

[logger_roundup]
#DEBUG, INFO, WARNING, ERROR, CRITICAL
#also for root only NOTSET (all)
level=DEBUG
handlers=basic
qualname=roundup
propagate=0

to

[logger_roundup]
#DEBUG, INFO, WARNING, ERROR, CRITICAL
#also for root only NOTSET (all)
level=WARNING
handlers=basic
qualname=roundup
propagate=0

for production otherwise demo.log will be quite chatty.
History
Date User Action Args
2019-11-03 23:26:04rouiljsetmessageid: <1572823564.9.0.368341164354.issue2551017@roundup.psfhosted.org>
2019-11-03 23:26:04rouiljsetrecipients: + rouilj, matt109
2019-11-03 23:26:04rouiljlinkissue2551017 messages
2019-11-03 23:26:04rouiljcreate