aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pmsh-pnf-sim/docker-compose/app_config/logger_config.yaml
blob: d1422dc15684619be7804ee9d4a0babd9e4e1fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: 1

disable_existing_loggers: false

loggers:
  dev:
    level: DEBUG
    handlers: [console, file_handler]
    propagate: false

handlers:
  console:
    class: logging.StreamHandler
    formatter: simple
  file_handler:
    class: logging.handlers.RotatingFileHandler
    filename: config/modules/pnf-subscriptions/pmsh_sim.log
    mode: a
    maxBytes: 10000000
    backupCount: 5
    formatter: extended

formatters:
  simple:
    format: "%(asctime)s %(name)s: %(message)s"
  extended:
    format: "%(asctime)s %(name)s %(levelname)s: %(message)s"