Hi ,
I have a distinct logger at three layer ( DAO, Service, Controller)
which all writing to one file as
DEBUG 2005-12-09 19:29:37,422 Create Order: DAO :1301
DEBUG 2005-12-09 19:29:37,429 Create Order: Service :35
DEBUG 2005-12-09 19:29:37,432 Create Order: Controller :51
Hi all,
I have two log4j logger classes (own wrapper class to hide log4j for
the customer class) in one application, and there are two xml
configuration files for the two loggers.
But I found that some time only one logger works, another logger's log
writes to another logger.
Since these two log
The usual way I would do this is use MDC. What you require is to be
able to correlate separate logging events together (at least be able
to find them easily).
IN this case I'm guessing you have a unique Order identified (say,
OrderID). In the bit of code where you first know the OrderID,
The Logging Service project and log4j project are happy to announce the
release of log4j 1.2.13.
Version 1.2.13 contains several bug fixes related to the TRACE level
introduced in version 1.2.12 and a fix in the ConsoleAppender for a bug that
affected logging in JBoss. Please see the HISTORY.