aboutsummaryrefslogtreecommitdiffstats
path: root/docs/platform/logging.rst
blob: 75dd15429925e208ed84a2ab9b0c096b45b72dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0

Logging & Diagnostic Information
--------------------------------

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 kubectl commands to get the log.
::

    # 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