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]
|
2017-09-24 19:10:41 +02:00
|
|
|
aiohttp:
|
|
|
|
level: INFO
|
|
|
|
handlers: [console, file]
|
|
|
|
pos:
|
|
|
|
level: DEBUG
|
|
|
|
handlers: [console,file]
|