Replies: 1 comment
-
|
I think you are understanding it correctly, I'm just not getting the same logs that you seem to be getting. Can you paste a snippet of the DEBUG logs that you are getting when you set the loglevel to INFO? what version of this sdk are you using? and a minimal sample that reproduces this would be helpful |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been using this configuration in my
SDKOptionsto configure my logging (pattern seen here):Unfortunately, my logs were showing the following unexpected behavior:
I am however able to achieve the desired behavior by removing this line:
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Info;Why is this the case? Observing
src/aws-cpp-sdk-core/include/aws/core/Aws.h, theLoggingOptionsstruct specifies that thatlogger_create_fntake precedence over thelogLevelfield:Maybe I am misinterpreting something, but it seems to me that using both
logLeveland thelogger_create_fnbreaks the intended behavior of logging at a specific level.Thank you
Beta Was this translation helpful? Give feedback.
All reactions