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: [email protected] <[email protected]> On Behalf Of Gudimetla, Leela 
Sankar
Sent: Tuesday, December 10, 2019 5:35 PM
To: [email protected]
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 (#14864): https://lists.fd.io/g/vpp-dev/message/14864
Mute This Topic: https://lists.fd.io/mt/68006780/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to