24 lines
454 B
YAML
24 lines
454 B
YAML
|
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:
|
||
|
pos:
|
||
|
level: DEBUG
|
||
|
handlers: [console,file]
|
||
|
sqlalchemy:
|
||
|
level: INFO
|
||
|
handlers: [console,file]
|