update link to upper-constraints.txt
[vfc/nfvo/lcm.git] / docs / platform / logging.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 Logging & Diagnostic Information
5 --------------------------------
6
7 VF-C logs are kept inside the docker containers: /var/log/onap/vfc/nslcm/runtime_nslcm.log
8 You can get the log when the dockers start.
9
10 Where to Access Information
11 +++++++++++++++++++++++++++
12
13 Use kubectl commands to get the log.
14 ::
15
16     # get the vfc-nslcm pod name
17     kubectl -n onap get pod | grep -i vfc
18     kubectl -n onap logs dev-vfc-nslcm-6dd99f94f4-vxdkc -c vfc-nslcm
19
20 Or:
21 ::
22
23      kubectl -n onap exec -it dev-vfc-nslcm-6dd99f94f4-vxdkc -c vfc-nslcm -- bash
24      cd /var/log/onap/vfc/nslcm/
25      tail -f runtime_nslcm.log
26
27