Messages become harder to miss.
[cas.git] / src / cas / logging.cfg
1 [loggers]
2 keys=root,fnp
3
4 [handlers]
5 keys=console,lf
6
7 [formatters]
8 keys=default
9
10 [logger_root]
11 level=DEBUG
12 handlers=console
13
14 [logger_fnp]
15 level=DEBUG
16 handlers=lf,console
17 qualname=fnp
18 propagate=0
19
20 [formatter_default]
21 format=%(asctime)s %(name)s/%(levelname)s :: %(module)s:%(lineno)d :: %(message)s
22 datefmt=
23
24 [handler_console]
25 class=StreamHandler
26 level=DEBUG
27 formatter=default
28 args=(sys.stderr, )
29
30 [handler_lf]
31 class=FileHandler
32 level=DEBUG
33 formatter=default
34 args=("/var/services/logs/cas.log",)