clean up some sphinx warnings
[dcaegen2.git] / docs / sections / services / pm-subscription-handler / logging.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 .. _Logging:
5
6 The PMSH logs will be rotated when the log file reaches 10Mb and a single backup will be kept,
7 with a maximum of 10 back ups.
8
9 Logging
10 =======
11
12 The PMSH application writes logs at INFO level to STDOUT, and also to the following file:
13
14 .. code-block:: bash
15
16     /var/log/ONAP/dcaegen2/services/pmsh/application.log
17
18 To configure PMSH log level, the configuration yaml needs to be altered:
19
20 .. code-block:: bash
21
22         vi /opt/app/pmsh/log_config.yaml
23
24 onap_logger level should be changed from INFO to DEBUG in order to enable debug logs to be
25 captured. This will affect both STDOUT logs and the logs written to application.log file
26
27 .. code-block:: yaml
28
29     loggers:
30         onap_logger:
31             level: INFO