From 491538565523fc3736905c0983cf9682b005ba69 Mon Sep 17 00:00:00 2001 From: dyh Date: Wed, 3 Feb 2021 11:42:20 +0800 Subject: Update architecture and logger document Change-Id: Ic31a785ddf3e4e47677fae55b4173a04a03c2077 Issue-ID: VFC-1790 Signed-off-by: dyh --- docs/platform/logging.rst | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'docs/platform/logging.rst') 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 + -- cgit 1.2.3-korg