summaryrefslogtreecommitdiffstats
path: root/docs/logging.rst
diff options
context:
space:
mode:
authorMichael Lando <michael.lando@intl.att.com>2018-11-29 14:51:16 +0200
committerIdan Amit <idan.amit@intl.att.com>2018-12-01 10:35:24 +0000
commit594a8c618a763e79e05229509dbf2b60ab831213 (patch)
treef2dfc4f7bed882f4e5742992721617acef891630 /docs/logging.rst
parentd4050ef7a4a6961509a82c9c4511e2aceb6d5394 (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> (cherry picked from commit 643c8933943cdc51a4128b8a3fa00da773ace4a7)
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
------------------------