Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing log printouts in forwarder-vpp at DEBUG log level #9242

Closed
ljkiraly opened this issue Jun 20, 2023 · 3 comments
Closed

Missing log printouts in forwarder-vpp at DEBUG log level #9242

ljkiraly opened this issue Jun 20, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@ljkiraly
Copy link
Contributor

ljkiraly commented Jun 20, 2023

Expected Behavior

Log printout is expected in forwarder-vpp logs at DEBUG log level.

Current Behavior

Setting log level to DEBUG the log printouts after "Startup completed in ..." printout are missing.

Failure Information (for bugs)

At TRACE log level any debug log printout can be seen in forwarder-vpp logs. For example printouts reporting netlink and vpp API operations regarding connection setup.

Steps to Reproduce

  1. Set NSM_LOG_LEVEL to DEBUG value in apps/forwarder-vpp/forwarder.yaml
  2. Start any basic use-case (e.g. Kernel2Ethernet2Kernel)
  3. Check the logs of forwarder-vpp

Context

  • NSM Version: 1.9.0.

Example

Comparing the forwarder debug level printouts in case of TRACE and DEBUG log level:
trace-level-forwarder-vpp-log.txt
debug-level-forwarder-vpp-log.txt

grep DEBU trace-level-forwarder-vpp-log.txt | wc -l
69
grep DEBU debug-level-forwarder-vpp-log.txt | wc -l
19

@ljkiraly
Copy link
Contributor Author

Can be related to #9124

@ljkiraly
Copy link
Contributor Author

Can be related to #9124

It is not related. It is present from v1.4.0, when log.EnableTracing(level == logrus.TraceLevel) was introduced.

@denis-tingaikin
Copy link
Member

@ljkiraly The problem should be fixed by networkservicemesh/sdk#1489

Latest main is available for testing.
Also, v1.10.0 will include the fix.

Feel free to reopen the ticket if the problem is still reproduciable.

Thanks for the pointing this problem we really appreciate any reports ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants