summaryrefslogtreecommitdiffstats
path: root/docs/platform/log-and-diagnostic-info.rst
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2019-05-23 18:27:23 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2019-05-23 18:27:23 +0800
commit90b740e99be5e6ddb3bccc6f2840c707acf74f92 (patch)
tree524f7fa37c40b988d8de7b3df3519ad288913ef4 /docs/platform/log-and-diagnostic-info.rst
parent151a98c48ef05a0dadd694c08f38e3d0e91ef809 (diff)
Updated Docs
Change-Id: I0c51e78ec3347206d1655ef7e34a09893476378b Issue-ID: HOLMES-228 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'docs/platform/log-and-diagnostic-info.rst')
-rw-r--r--docs/platform/log-and-diagnostic-info.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/platform/log-and-diagnostic-info.rst b/docs/platform/log-and-diagnostic-info.rst
index 74c53db..fb4ef47 100644
--- a/docs/platform/log-and-diagnostic-info.rst
+++ b/docs/platform/log-and-diagnostic-info.rst
@@ -4,15 +4,21 @@
Logging & Diagnostic Information
---------------------------------
-In the Beijing release, the logs are kept inside the docekr containers, which means that you can get the log information only when the docker is still running.
+In the Dublin release, the logs are kept inside the docker containers, which means that you can get the log information only when the docker is still running.
Where to Access Information
^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Assume that the name of a running docker is *holmes-rule-mgmt*, the way to get the log is to run the command ``docker logs ${docker-name}`` in the command window:
-``sudo docker logs holmes-rule-mgmt``
+There are two ways for a user to get the logs.
-Then the logs will be displayed in the command window.
+
+* Assume that the name of a running docker is *holmes-rule-mgmt*, the way to get the log is to run the command ``docker logs ${docker-name}`` in the command window:
+
+ ``sudo docker logs holmes-rule-mgmt``
+
+ Then the logs will be displayed in the command window.
+
+* Get into the docker containers by running ``sudo docker exec -it ${docker-name} sh``. Go to the path ``/var/log/ONAP/holmes/`` and find the logs there.
Error / Warning Messages
^^^^^^^^^^^^^^^^^^^^^^^^