Hi Steven,

Show log : shows debug messages on console. But does not redirect to vpp.log 
file.
Only VPP CLI command has been triggered to configure that only appears in 
vpp.log
Even packet trace appears on console , but don’t in vpp.log .

create ipip tunnel src 10.128.0.9 dst 10.192.0.9
set interface state ipip2 up
ipsec sa add 4 spi 4 crypto-alg aes-gcm-128 crypto-key 
31323334353637383930313233343536 salt 0x31323334
ipsec sa add 5 spi 5 crypto-alg aes-gcm-128 crypto-key 
31323334353637383930313233343536 salt 0x31323334
ipsec tunnel protect ipip2 sa-in 4 sa-out 5
set int ip address ipip2 10.128.0.9/30
ip route add 10.64.0.8/30 via ipip2
ip route add 10.192.0.8/30 via 192.168.11.3 eth1

ip route add 20.64.0.0/10 via 192.168.10.2 eth0

set int state eth0 up
set int state eth1 up

sh ipsec sa 02023/02/06 09:08:55:400: ***** End Startup Config *****
2023/02/06 09:09:00:239[0]: 2023/02/06 09:09:01:575[0]: 2023/02/06 
09:09:02:139[0]: 2023/02/06 09:09:12:451[0]: trace add dpdk-input 20


/tmp/vpp_dut1.log






Thanks
Vinay

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of steven luong via 
lists.fd.io
Sent: Saturday, February 4, 2023 8:44 PM
To: vpp-dev@lists.fd.io
Cc: Ji, Kai <kai...@intel.com>
Subject: Re: [vpp-dev] VPP logging does not logs API calls debug message

Did you try
vppctl show log

Steven

From: <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> on behalf of "Tripathi, 
VinayX" <vinayx.tripa...@intel.com<mailto:vinayx.tripa...@intel.com>>
Reply-To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Date: Saturday, February 4, 2023 at 4:19 AM
To: "vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>" 
<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Cc: "Ji, Kai" <kai...@intel.com<mailto:kai...@intel.com>>
Subject: Re: [vpp-dev] VPP logging does not logs API calls debug message

Hi Team ,
Any suggestion would highly appreciable.

Thanks
Vinay

From: Tripathi, VinayX
Sent: Friday, February 3, 2023 6:28 PM
To: 'vpp-dev@lists.fd.io' <vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>>
Cc: Ji, Kai <kai...@intel.com<mailto:kai...@intel.com>>
Subject: VPP logging does not logs API calls debug message


Hi Team,

I have notice that VPP infra/plugin/node/driver  related debug message does not 
logs into /var/log/vpp/vpp.vpp.log
Only logs CLI command being trigger from VPP console. Please find below 
configuration used.
Kindly suggest if I’m missing any configuration.

Using VPP version :- vpp v23.02-

unix {
   interactive
   log /var/log/vpp/vpp.log
   full-coredump
   cli-listen /var/log/vpp/cli.sock
   cli-pager-buffer-limit 10000
   # cli-listen localhost:5002
   #exec /root/vinaytrx/vpp/dpdk-pmd.bash
}

api-trace {
  on
}
logging {
   default-syslog-log-level debug
   default-log-level debug
  # class dpdk/cryptodev { rate-limit 100 level debug syslog-level error }
}

Log messages from /var/log/vpp/vpp.log
2023/01/31 08:11:53:331[0]: show interface
2023/01/31 08:12:08:100[0]: set int ip address eth0 192.168.1.0/30
2023/01/31 08:14:07:757[0]: ipsec
2023/01/31 08:14:10:946[0]: ipsec ?
2023/01/31 08:15:04:185[0]: create interface ?
2023/01/31 08:19:46:385[0]: create host-interface ?
2023/01/31 08:38:07:979[0]: set ip ?
2023/01/31 08:44:08:455[0]: set interface ip ?
2023/01/31 08:59:29:253[0]: show interface '

Thanks
Vinay

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22548): https://lists.fd.io/g/vpp-dev/message/22548
Mute This Topic: https://lists.fd.io/mt/96721810/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to