maya-persistence / logging_config.yaml
anubhav77's picture
v0.1
ebd06cc
raw
history blame
850 Bytes
version: 1
formatters:
simple:
format: '%(asctime)s - %(filename)s - %(funcName)10s() - %(lineno)d - %(levelname)s - %(message)s'
handlers:
console:
class: logging.StreamHandler
level: DEBUG
formatter: simple
stream: ext://sys.stdout
logfile:
class: logging.FileHandler
level: DEBUG
formatter: simple
filename: logger.log
encoding: utf8
loggers: #These are for individual files and then finally for root
objectiveHandler:
level: DEBUG
handlers: [console,logfile]
propagate: no
taskExecutor:
level: DEBUG
handlers: [console,logfile]
propagate: no
taskPlanner:
level: DEBUG
handlers: [console,logfile]
propagate: no
connectionpool:
level: ERROR
handlers: [console,logfile]
propagate: no
root:
level: DEBUG
handlers: [console,logfile]