; No editar los loggers
[loggers]
-keys = root,fetch,test
+keys = root,fetch,test,deliver
; A partir de acá se puede editar
[handlers]
propagate = 1
qualname = test
+[logger_deliver]
+level = NOTSET
+handlers =
+propagate = 1
+qualname = deliver
+
[handler_file]
class = FileHandler
-level = DEBUG
+level = INFO
formatter = file
args = ('/var/log/sercom.log', 'a')
[handler_mail]
class = handlers.SMTPHandler
-level = ERROR
+level = WARNING
formatter = mail
; smtp, from, to, subject
-args = ('llucax.hn.org', 'sercom@llucax.hn.org', 'luca@llucax.hn.org', '[SERCOM] Log')
+args = ('localhost', 'from@example.com', 'to@example.com', '[SERCOM] Log')
[formatter_file]
format = %(asctime)s %(name)5s[%(process)d] %(levelname)-8s %(message)s