Thanks Dave for the response. But I don’t see the syslog getting generated under /var/log/.
I am running VPP process as below. vpp -c /etc/vpp.conf And I have the unix section of vpp.conf file as below. unix { nodaemon log /var/log/vpp.log full-coredump gid vpp cli-listen localhost:5002 } Am I missing something here to get the syslog generated? BTW I am running stable 18_07. Thanks, Leela sankar From: "Dave Barach (dbarach)" <dbar...@cisco.com> Date: Wednesday, December 11, 2019 at 4:59 AM To: Leela Gudimetla <lgudi...@ciena.com>, "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io> Subject: [**EXTERNAL**] RE: How to enable logs in VPP? Make sure to check e.g. /var/log/syslog. Clib_warnings(...) are sent to syslog, and end up in the system log. Search for “vnet”. Example: Dec 11 07:37:56 vpp-n1 vnet[2977]: icmp6_router_solicitation:1811: Prefix [REDACTED] valid 295722 preferred 295722 FWIW... Dave From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Gudimetla, Leela Sankar Sent: Tuesday, December 10, 2019 5:35 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] How to enable logs in VPP? Hello, I am looking for some information on how to enable error-logs, warnings, etc. I see bunch of logging in the code like clib_error_xxx(), clib_warning_xxx(), etc. Can someone share how to enable these logs to capture to a file on the target? Thanks, Leela sankar
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14869): https://lists.fd.io/g/vpp-dev/message/14869 Mute This Topic: https://lists.fd.io/mt/68157608/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-