mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 09:47:58 +00:00
884798c3cb
add a sample logging.conf in docs/misc (and point to it in the man page)
23 lines
305 B
Text
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
|