# Declara los loggers (módulos), handlers (salidas) y formatters
[loggers]
keys=root,wiimc,rss,mediaserver

[handlers]
keys=consola,fichero

[formatters]
keys=basic

# Define handler y formatter
[formatter_basic]
format=%(levelname)-8s %(asctime)s %(module)-15s %(message)s
datefmt=%d%m %H:%M:%S

[handler_consola]
class=StreamHandler
level=DEBUG
formatter=basic
args=(sys.stdout,)
propagate=0

[handler_fichero]
class=FileHandler
level=DEBUG
formatter=basic
args=("pelisalacarta.log","w")
propagate=0

# Define loggers
[logger_root]
level=DEBUG
handlers=consola,fichero

[logger_wiimc]
level=DEBUG
handlers=consola,fichero
qualname=wiimc
propagate=0

[logger_rss]
level=DEBUG
handlers=consola,fichero
qualname=rss
propagate=0

[logger_mediaserver]
level=DEBUG
handlers=consola,fichero
qualname=mediaserver
propagate=0
