Added a sample logging.yaml file.

master
Pacman Ghost 6 years ago
parent 0e6015af1b
commit e8c8ee870e
  1. 30
      vasl_templates/webapp/config/logging.yaml.template

@ -0,0 +1,30 @@
# This is a sample config file for Python logging - rename it as logging.yaml.
version: 1
formatters:
standard:
format: "%(asctime)s.%(msecs)03d | %(message)s"
datefmt: "%H:%M:%S"
handlers:
console:
class: "logging.StreamHandler"
formatter: "standard"
stream: "ext://sys.stdout"
file:
class: "logging.FileHandler"
formatter: "standard"
filename: "/tmp/vasl-templates.log"
mode: "w"
loggers:
werkzeug:
level: "WARNING"
handlers: [ "console" ]
javascript:
level: "INFO"
handlers: [ "console" ]
qt:
level: "INFO"
handlers: [ "console" ]
Loading…
Cancel
Save