summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/sections/services/pm-subscription-handler/configuration.rst4
-rw-r--r--docs/sections/services/pm-subscription-handler/logging.rst23
2 files changed, 23 insertions, 4 deletions
diff --git a/docs/sections/services/pm-subscription-handler/configuration.rst b/docs/sections/services/pm-subscription-handler/configuration.rst
index 8f02af0e..83d9cfd8 100644
--- a/docs/sections/services/pm-subscription-handler/configuration.rst
+++ b/docs/sections/services/pm-subscription-handler/configuration.rst
@@ -47,6 +47,10 @@ specified in the dashboard deployment GUI.
+-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
| pgaas_cluster_name | Cluster name for Postgres As A Service. | string | True | dcae-pg-primary.onap |
+-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
+| enable_tls | Boolean flag to toggle HTTPS cert auth support. | boolean | True | true |
++-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
+| protocol | HTTP protocol for PMSH. If 'enable_tls' is false, protocol must be set to http. | string | True | https |
++-----------------------------+----------------------------------------------------------------------------------------+---------+----------+-------------------------------------------------------------------------------------+
.. _Subscription:
diff --git a/docs/sections/services/pm-subscription-handler/logging.rst b/docs/sections/services/pm-subscription-handler/logging.rst
index 59518d91..f24fdf0a 100644
--- a/docs/sections/services/pm-subscription-handler/logging.rst
+++ b/docs/sections/services/pm-subscription-handler/logging.rst
@@ -3,14 +3,29 @@
.. _Logging:
-The PMSH logs will roll when the log file reaches 10Mb and a single backup will be kept. The logging level is not
-configurable.
+The PMSH logs will be rotated when the log file reaches 10Mb and a single backup will be kept,
+with a maximum of 10 back ups.
Logging
=======
-The PMSH application writes logs on the debug level to the following file:
+The PMSH application writes logs at INFO level to STDOUT, and also to the following file:
.. code-block:: bash
- /var/log/ONAP/dcaegen2/services/pmsh/debug.log
+ /var/log/ONAP/dcaegen2/services/pmsh/application.log
+
+To configure PMSH log level, the configuration yaml needs to be altered:
+
+.. code-block:: bash
+
+ vi /opt/app/pmsh/log_config.yaml
+
+onap_logger level should be changed from INFO to DEBUG in order to enable debug logs to be
+captured. This will affect both STDOUT logs and the logs written to application.log file
+
+.. code-block:: yaml
+
+ loggers:
+ onap_logger:
+ level: INFO \ No newline at end of file