- Addition of new options in JMSAppender and new command line arguments in
   JMSSink. [*]

 - Added new method getLoggerName() in LoggingEvent class. The
   getLoggerName is the preferred way for accessing the logger
   name. The public access categoryName field should not be accessed
   directly. Similarly, added the getLevel method which is now the
   preferred way of accessing the event's level. The public access
   level field should not be accessd directly.  The javadocs now mark
   the categoryName and level fields as deprecated.

   Modified existing appenders to comply with these new directives. [*]

 - Log4j now will check if a system property called "log4j.ignoreTCL"
   is set. If it is it will ignore the Thread Context ClassLoader when
   loading classes. This solves the irrating "appender is not
   appender" messages observed when log4j.jar is loaded by multiple
   class loaders. [*]


PR:
Obtained from:
Submitted by:
Reviewed by:



Project: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/commit/4fd44ac1
Tree: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/tree/4fd44ac1
Diff: http://git-wip-us.apache.org/repos/asf/logging-chainsaw/diff/4fd44ac1

Branch: refs/heads/v1_2-branch
Commit: 4fd44ac1dbfe882370c523d7ee21af94cafdb51b
Parents: 4e117cc
Author: Ceki Gulcu <[email protected]>
Authored: Wed Jul 31 09:25:13 2002 +0000
Committer: Ceki Gulcu <[email protected]>
Committed: Wed Jul 31 09:25:13 2002 +0000

----------------------------------------------------------------------
 src/java/org/apache/log4j/chainsaw/EventDetails.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-chainsaw/blob/4fd44ac1/src/java/org/apache/log4j/chainsaw/EventDetails.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/log4j/chainsaw/EventDetails.java 
b/src/java/org/apache/log4j/chainsaw/EventDetails.java
index 12ddc51..a0538e6 100644
--- a/src/java/org/apache/log4j/chainsaw/EventDetails.java
+++ b/src/java/org/apache/log4j/chainsaw/EventDetails.java
@@ -73,8 +73,8 @@ class EventDetails {
     EventDetails(LoggingEvent aEvent) {
 
         this(aEvent.timeStamp,
-             aEvent.level,
-             aEvent.categoryName,
+             aEvent.getLevel(),
+             aEvent.getLoggerName(),
              aEvent.getNDC(),
              aEvent.getThreadName(),
              aEvent.getRenderedMessage(),

Reply via email to