macao-pos/docs/config_logging/logging_production.yaml

29 lines
602 B
YAML
Raw Normal View History

2017-03-21 11:26:25 +01:00
version: 1
formatters:
default:
format: '%(asctime)s %(levelname)-8s %(name)-30s %(message)s'
handlers:
console:
class: logging.StreamHandler
formatter: default
stream: ext://sys.stdout
file:
class: logging.handlers.RotatingFileHandler
formatter: default
filename: pos.log
maxBytes: 1024
backupCount: 3
loggers:
sqlalchemy:
level: ERROR
handlers: [console,file]
aiohttp:
level: ERROR
handlers: [console, file]
2017-03-21 11:26:25 +01:00
pos:
level: WARNING
handlers: [console,file]