forked from hepix-virtualisation/vmcatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogger.conf
39 lines (29 loc) · 783 Bytes
/
logger.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Example logfile configuration.
# This configuration file allows logs to be set at different levels for
# each component or object.
[formatters]
keys: detailed,simple
[handlers]
keys: console,syslog
[loggers]
keys: root
#keys: root,SmimeX509Validation
[formatter_simple]
format: %(name)s:%(levelname)s:%(message)s
[formatter_detailed]
format: %(name)s:%(levelname)s %(module)s:%(lineno)d: %(message)s
[handler_console]
class: StreamHandler
args: []
formatter: simple
[handler_syslog]
class: handlers.SysLogHandler
args: [('syslogserver.example.org', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER]
formatter: detailed
[logger_root]
level: INFO
handlers: console
[logger_SmimeX509Validation]
level: ERROR
qualname: SmimeX509Validation
handlers: syslog