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

Logging #4776

Open
1 of 4 tasks
td4b opened this issue Jan 30, 2025 · 2 comments
Open
1 of 4 tasks

Logging #4776

td4b opened this issue Jan 30, 2025 · 2 comments

Comments

@td4b
Copy link

td4b commented Jan 30, 2025

Describe the bug

I cant seem to get tracing logs for either stdout or with lttng. Followed the guide here.

https://github.com/microsoft/msquic/blob/main/docs/Diagnostics.md

Image

any advice would be appreciated.

Affected OS

  • Windows
  • Linux
  • macOS
  • Other (specify below)

Additional OS information

No response

MsQuic version

main

Steps taken to reproduce bug

Latest release

Expected behavior

stdout logs and more verbose startup details mainly around TLS certs.

Actual outcome

I don't see any stdout from debugging other than my own.

Additional details

No response

@nibanks nibanks added this to the Future milestone Jan 30, 2025
@nibanks
Copy link
Member

nibanks commented Jan 30, 2025

If you correct configure stdout logging, when you do a cmake generate, you should see this output line:

    elseif (QUIC_LOGGING_TYPE STREQUAL "stdout")
        message(STATUS "Configuring for stdout logging") # <---- HERE
        list(APPEND QUIC_COMMON_DEFINES QUIC_EVENTS_STDOUT QUIC_LOGS_STDOUT)
    endif()

I don't see that in your output above. Is it because there is a space between the D and everything else?

@td4b
Copy link
Author

td4b commented Jan 30, 2025

Image

Modified my portfile and recompiled the library with vcpkg. Makes more sense, thanks for pointing that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants