You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started to use log4stash in our application to send log information to a AWS-Auth elastic search, but I noticed it started to log information by itself.
It logs so much info, following the correct log over console(the ones I want) is very difficult.
My log4net config file (partial and with sensitive info hidden):
When I change the root level value to WARN or higher, those logs dissapear. However, my guess is they dont show up because nothing is happening (no logs are being logged)
By checking the Aws4SignerForAuthorizationHeader class, I found many Console.WriteLine statements.
Is there any way to disable those internal loggings with a flag or something? Or just log errors?
Im not sure how I can create a PR with a quick fix for this scenario.
The text was updated successfully, but these errors were encountered:
Hey, I looked in the code and found the cause to these logs.
Created a PR (#80) where these logs would be considered 'debug' as they should be.
You're welcome to look and see if it fits your needs. @urielha If you have the time please look at the code and see if it makes sense, and then we can deploy a new version.
Hello!
I've started to use log4stash in our application to send log information to a AWS-Auth elastic search, but I noticed it started to log information by itself.
It logs so much info, following the correct log over console(the ones I want) is very difficult.
My log4net config file (partial and with sensitive info hidden):
And then, during my logging process, im greeted (in the console) with A LOT of those:
When I change the
root level value
toWARN
or higher, those logs dissapear. However, my guess is they dont show up because nothing is happening (no logs are being logged)By checking the
Aws4SignerForAuthorizationHeader
class, I found manyConsole.WriteLine
statements.Is there any way to disable those internal loggings with a flag or something? Or just log errors?
Im not sure how I can create a PR with a quick fix for this scenario.
The text was updated successfully, but these errors were encountered: