macao-pos/docs/config_logging/logging_debug.yaml

27 lines
520 B
YAML
Raw Permalink Normal View History

2017-03-21 11:26:25 +01:00
version: 1
formatters:
default:
format: '[%(name)s %(levelname)s] %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: default
stream: ext://sys.stdout
file:
class: logging.FileHandler
formatter: default
filename: pos.log
loggers:
sqlalchemy:
level: INFO
handlers: [console,file]
aiohttp:
level: INFO
handlers: [console, file]
pos:
level: DEBUG
handlers: [console,file]