summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/pub/config/log.yml
blob: cb61b52680492d58e66f2e50cbc1a8b403e9aa6e (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
28
29
30
31
32
33
34
35
36
37
38
version: 1
disable_existing_loggers: False

loggers:
    starlingx_base:
      handlers: [console_handler, file_handler]
      level: "DEBUG"
      propagate: False
    starlingx:
      handlers: [console_handler, file_handler]
      level: "DEBUG"
      propagate: False
    newton_base:
      handlers: [console_handler, file_handler]
      level: "DEBUG"
      propagate: False
    common:
      handlers: [console_handler, file_handler]
      level: "DEBUG"
      propagate: False

handlers:
    console_handler:
        level: "DEBUG"
        class: "logging.StreamHandler"
        formatter: "standard"
    file_handler:
        level: "DEBUG"
        class: "logging.handlers.RotatingFileHandler"
        filename: "/var/log/onap/multicloud/openstack/windriver/titanium_cloud.log"
        formatter: "standard"
        maxBytes: 52428800
        backupCount: 10

formatters:
    standard:
        format: "%(asctime)s|||||%(name)s||%(thread)||%(funcName)s||%(levelname)s||%(message)s"