Ahenk/config/log.conf

24 lines
344 B
Text
Raw Permalink Normal View History

2016-02-21 04:00:15 +02:00
[formatters]
keys=default
[formatter_default]
format=format=%(asctime)s %(name)-12s %(levelname)-8s %(message)s
class=logging.Formatter
[handlers]
keys=file
[handler_file]
class=logging.FileHandler
2016-04-25 16:36:54 +03:00
level=DEBUG
2016-02-21 04:00:15 +02:00
formatter=default
args=("/var/log/ahenk.log", "w")
[loggers]
keys=root
[logger_root]
level=DEBUG
formatter=default
handlers=file