X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Flogging.rst;h=5fa053269793bc0fda8408258daca2bca1340e23;hb=1f76db9670a4ff9393dc45dd5c8395b747dd88e0;hp=a1e3a659c0eb3a77026dcbce9a9f7b5b1cb44140;hpb=86b2f6d9686b15c8a3ec77184ec9545f6aecdc62;p=sdc.git diff --git a/docs/logging.rst b/docs/logging.rst index a1e3a659c0..5fa0532697 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -7,10 +7,12 @@ Logging Where to Access Information --------------------------- -the logs for the application are available in the docker it self at /var/lib/jetty/logs/ +the logs for the application are available in the docker itself at /var/lib/jetty/logs/ 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: + +:: + + + + +to change the level for logs of some specific packages, change the following value: + +:: + + + + +to agregate all the logs level into a single log file called all.log change the foloing property to true: + +:: + + + + + Error / Warning Messages ------------------------