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:
|
2017-09-24 19:10:41 +02:00
|
|
|
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]
|