1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00
borg/docs/misc/logging.conf
Sitaram Chamarty 884798c3cb add a sample logging.conf in docs/misc (#4380)
add a sample logging.conf in docs/misc

(and point to it in the man page)
2019-03-17 15:05:04 +01:00

23 lines
305 B
Text

[loggers]
keys=root
[handlers]
keys=logfile
[formatters]
keys=logfile
[logger_root]
level=NOTSET
handlers=logfile
[handler_logfile]
class=FileHandler
level=INFO
formatter=logfile
args=('borg.log', 'w')
[formatter_logfile]
format=%(asctime)s %(levelname)s %(message)s
datefmt=
class=logging.Formatter