All Questions
5 questions
4
votes
2
answers
3k
views
Java MDC Logger - methods with too many MDC.put()
Small question regarding MDC with Java please.
At first, I had very straightforward methods, some methods with many parameters (I shorten the list of parameters to keep things short just for this ...
0
votes
1
answer
2k
views
Spring AOP MDC Logging not working as expected
In my code, I have 2 methods processInbound() and processOutbound(). I am trying to use AOP to load MDC data so that in the logs I can identify the journey.
My code is working as I can see the desired ...
0
votes
1
answer
1k
views
How to intercept Runnable creation and execution under master thread to populate context flow data using AspectJ
Original issue
Populate the Java MDC from a thread to all its spawned inner threads (parent to children relation)
WIP solution using AspectJ
I'm able to write an aspect intercepting all Runnable ...
1
vote
0
answers
768
views
Can I put aspect oriented pointcut on every CompletableFuture async calls?
In my spring-boot java project, I have hundreds of API which call other backend API on different cases. These calls happen in parallel threads (inside CompletableFuture async methods). For logging ...
0
votes
1
answer
870
views
SLF4J MDC: Data "bleeding" from child thread to parent thread
I have a Spring MVC app that has logging set up using SLF4J. I am using two different aspects (using spring-aop) to do the logging, one to log all incoming http requests, and another to log ...