diff options
Diffstat (limited to 'docs/platform/logging.rst')
-rw-r--r-- | docs/platform/logging.rst | 17 |
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 + |