Skip to content

Unable to get debug log #3163

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

Open
proficien opened this issue Apr 7, 2025 · 1 comment
Open

Unable to get debug log #3163

proficien opened this issue Apr 7, 2025 · 1 comment

Comments

@proficien
Copy link

When I was debugging the source code, I tried to turn on the debug log to assist debugging. However, even though I set the --enable-heavy-logging --enable-logging --enable-debug and other options through cmake during compilation, and used the Debug-build-type to compile my application, I still could not see the printed log information. I would like to ask how can I get the complete debug log?

@ethouris
Copy link
Collaborator

ethouris commented Apr 7, 2025

Depends on what you use to run it.

The provided applications, srt-live-transmit and srt-test-live need to specify the option; default level is Note, but you can specify e. g. -loglevel debug in the command line. All FA are turned on by default, so you are clear here, might be that you might want to only turn on selected ones.

If you want to set this from an application, you have to call srt_setloglevel(LOG_DEBUG).

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

No branches or pull requests

2 participants