Register / Login
Win a copy of
Design for the Mind
this week in the
Other Open Source Projects
SSB as a Log4J logger?
posted 9 years ago
I am trying to create a logging service using Log4J, which uses a JMS Appender with a
Appender that logs messages asynchronously.
And I "have" to that using an
. What I am trying to do is encapsulate the logger class in a SSB and expose different methods for the client to access.
In doing so, however, my LocationInfo is lost. Fair enough, since the location info is captured by log4j from the
( IMO), which changes for an EJB.
Now, when I am trying to set different parameters in the MDC of the logger object, even that is being retrieved as null.
Could anybody provide any ideas as to what am I missing here? Has anybody tried using a SSB for a logger?
Any pointers would be helpful.
Thanks in Advance.
how to disable the log
Log4j not working as expected with ejb module
remove log4j appender from an API
what does log4j info level mean
Parameterize log4j appenders?