mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-10 03:02:17 +03:00
24 lines
344 B
Text
24 lines
344 B
Text
|
[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
|
||
|
level=DEBUG
|
||
|
formatter=default
|
||
|
args=("/var/log/ahenk.log", "w")
|
||
|
|
||
|
[loggers]
|
||
|
keys=root
|
||
|
|
||
|
[logger_root]
|
||
|
level=DEBUG
|
||
|
formatter=default
|
||
|
handlers=file
|