aboutsummaryrefslogtreecommitdiffstats
path: root/docs/platform/logging.rst
diff options
context:
space:
mode:
authordyh <dengyuanhong@chinamobile.com>2021-02-03 11:42:20 +0800
committerdyh <dengyuanhong@chinamobile.com>2021-02-03 11:42:53 +0800
commit491538565523fc3736905c0983cf9682b005ba69 (patch)
tree3aac9ec0c7f3806582d1078fef8110ac2f0783f5 /docs/platform/logging.rst
parenta9b8a34de89c4459bb234aa4782480f5197bf3e6 (diff)
Update architecture and logger document
Change-Id: Ic31a785ddf3e4e47677fae55b4173a04a03c2077 Issue-ID: VFC-1790 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
Diffstat (limited to 'docs/platform/logging.rst')
-rw-r--r--docs/platform/logging.rst17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/platform/logging.rst b/docs/platform/logging.rst
index f9bd56e6..75dd1542 100644
--- a/docs/platform/logging.rst
+++ b/docs/platform/logging.rst
@@ -4,15 +4,24 @@
Logging & Diagnostic Information
--------------------------------
-In Amsterdam release, VF-C logs are kept inside the docker containers.
+VF-C logs are kept inside the docker containers: /var/log/onap/vfc/nslcm/runtime_nslcm.log
You can get the log when the dockers start.
Where to Access Information
+++++++++++++++++++++++++++
-Use docker logs command to get the log.
+Use kubectl commands to get the log.
::
- docker logs ${docker-name}
-
+ # get the vfc-nslcm pod name
+ kubectl -n onap get pod | grep -i vfc
+ kubectl -n onap logs dev-vfc-nslcm-6dd99f94f4-vxdkc -c vfc-nslcm
+
+Or:
+::
+
+ kubectl -n onap exec -it dev-vfc-nslcm-6dd99f94f4-vxdkc -c vfc-nslcm -- bash
+ cd /var/log/onap/vfc/nslcm/
+ tail -f runtime_nslcm.log
+