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
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I have been using this configuration in my
SDKOptions
to 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
, theLoggingOptions
struct specifies that thatlogger_create_fn
take precedence over thelogLevel
field:Maybe I am misinterpreting something, but it seems to me that using both
logLevel
and thelogger_create_fn
breaks the intended behavior of logging at a specific level.Thank you
Beta Was this translation helpful? Give feedback.
All reactions