aboutsummaryrefslogtreecommitdiffstats
path: root/docs/logging.rst
diff options
context:
space:
mode:
authorMichael Lando <michael.lando@intl.att.com>2018-11-29 14:51:16 +0200
committerMichael Lando <michael.lando@intl.att.com>2018-11-29 23:34:30 +0000
commit643c8933943cdc51a4128b8a3fa00da773ace4a7 (patch)
tree773416a08a2ab888448a7cd557d367a99b896d99 /docs/logging.rst
parent1b0a8d4d02e30730272cc8cee4d78d5c286a93e1 (diff)
update documintation
update documintation and release notes. Change-Id: I4e971e81e1be53b9846aa1c6c70371578bac9c77 Issue-ID: SDC-1965 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
Diffstat (limited to 'docs/logging.rst')
-rw-r--r--docs/logging.rst30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/logging.rst b/docs/logging.rst
index 8c1bd11847..5fa0532697 100644
--- a/docs/logging.rst
+++ b/docs/logging.rst
@@ -11,6 +11,8 @@ the logs for the application are available in the docker itself at /var/lib/jett
in Heat deployment the dockers are mapped into /data/logs on the vm where the application is running.
In OOM you can use the logging project to access the logging collected from the applications.
+In the OOM deployment the log location in the docker is /var/log/onap
+
+-------------------------------+------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
| Server | Location | Type | Description | Rolling |
@@ -44,6 +46,34 @@ In OOM you can use the logging project to access the logging collected from the
| | | | This log holds all the logging output of the application. | |
+-------------------------------+------------------------------------------+---------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
+Changing log level
+---------------------------
+SDC uses logback for logging.
+in order to change the level you will need to acses the docker.
+in it update the logback.xml according to your need, the change does not requir a restart to the docker.
+
+to change the level for all logs, change the following value:
+
+::
+
+ <root level="INFO">
+
+
+to change the level for logs of some specific packages, change the following value:
+
+::
+
+ <logger level="INFO" name="org.openecomp.sdc" />
+
+
+to agregate all the logs level into a single log file called all.log change the foloing property to true:
+
+::
+
+ <property name="enable-all-log" scope="context" value="false" />
+
+
+
Error / Warning Messages
------------------------