update swagger info, add tags for swagger_auto_schema
[modeling/etsicatalog.git] / catalog / log.yml
1 version: 1
2 disable_existing_loggers: False
3
4 loggers:
5     catalog:
6         handlers: [cataloglocal_handler, catalog_handler]
7         level: "DEBUG"
8         propagate: False
9     django:
10         handlers: [django_handler]
11         level: "DEBUG"
12         propagate: False
13     tosca:
14         handlers: [cataloglocal_handler, catalog_handler]
15         level: "DEBUG"
16         propagate: False
17 handlers:
18     cataloglocal_handler:
19         level: "DEBUG"
20         class:
21             "logging.handlers.RotatingFileHandler"
22         filename: "logs/runtime_catalog.log"
23         formatter:
24             "standard"
25         maxBytes: 52428800
26         backupCount: 10
27     catalog_handler:
28         level: "DEBUG"
29         class:
30             "logging.handlers.RotatingFileHandler"
31         filename: "/var/log/onap/modeling/etsicatalog/runtime_catalog.log"
32         formatter:
33             "mdcFormat"
34         maxBytes: 52428800
35         backupCount: 10
36     django_handler:
37         level: "DEBUG"
38         class:
39             "logging.handlers.RotatingFileHandler"
40         filename: "logs/django.log"
41         formatter:
42             "standard"
43         maxBytes: 52428800
44         backupCount: 10
45 formatters:
46     standard:
47         format:
48             "%(asctime)s:[%(name)s]:[%(filename)s]-[%(lineno)d] [%(levelname)s]:%(message)s"
49     mdcFormat:
50         format:
51             "%(asctime)s|||||%(name)s||%(thread)s||%(funcName)s||%(levelname)s||%(message)s||||%(mdc)s \t"
52         mdcfmt: "{requestID} {invocationID} {serviceName} {serviceIP}"
53         datefmt: "%Y-%m-%d %H:%M:%S"
54         (): onaplogging.mdcformatter.MDCFormatter