-
Notifications
You must be signed in to change notification settings - Fork 99
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
Unable to suppress xray logging in AWS #341
Comments
Hi @chaitanguttarlapalli
Do you see any specific log messages from these classes or just the above mentioned log statements? |
Hi @srprash , please find the config here
|
Hi @chaitanguttarlapalli, could you please provide the full log message? Or even better yet, can you point out which line of code in this X-Ray SDK is emitting that log message you posted above?
I ask because I don't think our X-Ray Java SDK emits just "class name" like your logs above seem to suggest. If you post the full output we can probably look at why that line of code isn't suppressing logs correctly? I'm less familiar with Java but your configuration might benefit from |
Hi @NathanielRN , the log message is triggered when the classes are loaded , it does not come from our code . I have attached the complete log of one of the lambda functions here , please have a look. |
Hi @chaitanguttarlapalli |
I tried the caps and lower both , I suspect the logs happen during class loading even before the log4j.xml is loaded . |
Hi @chaitanguttarlapalli, are there log statements after those initial statements still appearing (e.g. for every request), or is it only the startup logs that appear? One other strategy is that this SDK uses Apache commons logging, so you can remove the |
In log4j2.xml when we try to disable xray logging it does not work ,
The below unwanted logs keep appearing in aws logsJul 18, 2022 1:14:44 PM com.amazonaws.xray.config.DaemonConfiguration
Jul 18, 2022 1:14:44 PM com.amazonaws.xray.AWSXRayRecorder
The text was updated successfully, but these errors were encountered: