We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In file examples/otlp/http_main.cc:
opts.url = argv[1]; if (argc > 2) { std::string debug = argv[2]; opts.console_debug = debug != "" && debug != "0" && debug != "no"; }
Exporter options console_debug can be set optionally from the command line, which is a nice debug feature.
console_debug
The problem is that this has no effect, because GlobalLogHandler::SetLogLevel() is never set to DEBUG.
GlobalLogHandler::SetLogLevel()
Console logs are never printed.
The text was updated successfully, but these errors were encountered:
Fix open-telemetry#1847
9e1c450
Fixed console debug logs for otlp exporters.
Fix console debug logs for otlp exporters. (#1848)
41821d6
Fixes #1847
marcalff
Successfully merging a pull request may close this issue.
In file examples/otlp/http_main.cc:
Exporter options
console_debug
can be set optionally from the command line, which is a nice debug feature.The problem is that this has no effect, because
GlobalLogHandler::SetLogLevel()
is never set to DEBUG.Console logs are never printed.
The text was updated successfully, but these errors were encountered: