Revision d28244af logic/logging.conf
b/logic/logging.conf | ||
---|---|---|
2 | 2 |
keys=root,synnefo.dispatcher,synnefo.logic,synnefo.api,synnefo.invitations,amqplib,rapi |
3 | 3 |
|
4 | 4 |
[handlers] |
5 |
keys=consoleHandler,syslogHandler |
|
5 |
keys=consoleHandler,syslogHandler,fileHandler
|
|
6 | 6 |
|
7 | 7 |
[formatters] |
8 | 8 |
keys=fullFormatter |
... | ... | |
16 | 16 |
[logger_synnefo.dispatcher] |
17 | 17 |
level=DEBUG |
18 | 18 |
#handlers=consoleHandler |
19 |
handlers=syslogHandler |
|
19 |
handlers=syslogHandler,fileHandler
|
|
20 | 20 |
qualname=synnefo.dispatcher |
21 | 21 |
propagate=0 |
22 | 22 |
|
... | ... | |
73 | 73 |
# The Mac thinks different... |
74 | 74 |
#args=('/var/run/syslog',handlers.SysLogHandler.LOG_DAEMON,) |
75 | 75 |
|
76 |
[handler_fileHandler] |
|
77 |
class=logging.FileHandler |
|
78 |
level=DEBUG |
|
79 |
formatter=fullFormatter |
|
80 |
args=('/var/log/synnefo/dispatcher.log',) |
|
81 |
|
|
76 | 82 |
# Formatters |
77 | 83 |
[formatter_fullFormatter] |
78 | 84 |
format=%(asctime)s - %(name)s[%(process)d] - %(levelname)s - %(message)s |
Also available in: Unified diff