Created
September 12, 2014 12:22
-
-
Save pferreir/ce901f38ffb5f0eb2d72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[loggers] | |
keys=root | |
[handlers] | |
keys=indico,other,smtp | |
[formatters] | |
keys=defaultFormatter,mailFormatter | |
# For deactivating a handler, remove its entry from | |
# the list below. | |
[logger_root] | |
level=DEBUG | |
handlers=indico,other,smtp | |
# By default, the args are taken from the indico.conf file. | |
# For setting your custom arguments, uncomment the args entry below. | |
[handler_indico] | |
class=FileHandler | |
level=DEBUG | |
formatter=defaultFormatter | |
#args=('',) | |
# By default, the args are taken from the indico.conf file. | |
# For setting your custom arguments, uncomment the args entry below. | |
[handler_other] | |
class=FileHandler | |
level=WARNING | |
formatter=defaultFormatter | |
#args=('',) | |
# By default, the args are taken from the indico.conf file. | |
# For setting your custom arguments, uncomment args the entry below. | |
[handler_smtp] | |
class=handlers.SMTPHandler | |
level=ERROR | |
formatter=mailFormatter | |
#args=('','',[],'') | |
[formatter_mailFormatter] | |
format=%(asctime)s %(name)s - %(levelname)s %(filename)s:%(lineno)d -- %(message)s | |
datefmt= | |
[formatter_defaultFormatter] | |
format=%(asctime)s %(name)-16s: %(levelname)-8s %(request_id)s - %(message)s | |
datefmt= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment