logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r545981 - in /logging/chainsaw/trunk: HOWTOBUILD.txt pom.xml src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java
Date Sun, 10 Jun 2007 23:44:38 GMT
Author: sdeboy
Date: Sun Jun 10 16:44:37 2007
New Revision: 545981

URL: http://svn.apache.org/viewvc?view=rev&rev=545981
Log:
Added maven dependency on the pattern-layout log4j companion to support the 
display of event properties in Chainsaw's event detail panel

Modified:
    logging/chainsaw/trunk/HOWTOBUILD.txt
    logging/chainsaw/trunk/pom.xml
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java

Modified: logging/chainsaw/trunk/HOWTOBUILD.txt
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/HOWTOBUILD.txt?view=diff&rev=545981&r1=545980&r2=545981
==============================================================================
--- logging/chainsaw/trunk/HOWTOBUILD.txt (original)
+++ logging/chainsaw/trunk/HOWTOBUILD.txt Sun Jun 10 16:44:37 2007
@@ -12,6 +12,7 @@
 
 * SVN check out the following projects:
 	log4j-component - http://svn.apache.org/repos/asf/logging/log4j/companions/component/trunk/
+	log4j-pattern-layout - http://svn.apache.org/repos/asf/logging/log4j/companions/pattern-layout/trunk/
 	log4j-receivers - http://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk/
 	log4j-filter - http://svn.apache.org/repos/asf/logging/log4j/companions/filters/trunk/
 	

Modified: logging/chainsaw/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/pom.xml?view=diff&rev=545981&r1=545980&r2=545981
==============================================================================
--- logging/chainsaw/trunk/pom.xml (original)
+++ logging/chainsaw/trunk/pom.xml Sun Jun 10 16:44:37 2007
@@ -194,6 +194,11 @@
     </dependency>
     <dependency>
       <groupId>log4j</groupId>
+      <artifactId>apache-log4j-pattern-layout</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
       <artifactId>apache-log4j-receivers-javadoc</artifactId>
       <version>1.0-SNAPSHOT</version>
     </dependency>

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java?view=diff&rev=545981&r1=545980&r2=545981
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java
Sun Jun 10 16:44:37 2007
@@ -17,19 +17,16 @@
 
 package org.apache.log4j.chainsaw.layout;
 
-import org.apache.log4j.Layout;
-import org.apache.log4j.Logger;
-import org.apache.log4j.PatternLayout;
-import org.apache.log4j.spi.LoggingEvent;
-import org.apache.log4j.spi.LocationInfo;
-
-import java.io.IOException;
-import java.io.Writer;
-
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.Set;
 
+import org.apache.log4j.EnhancedPatternLayout;
+import org.apache.log4j.Layout;
+import org.apache.log4j.Logger;
+import org.apache.log4j.spi.LocationInfo;
+import org.apache.log4j.spi.LoggingEvent;
+
 
 /**
  * This layout is used for formatting HTML text for use inside
@@ -42,7 +39,7 @@
  * @author Paul Smith <psmith@apache.org>
  */
 public class EventDetailLayout extends Layout {
-  private PatternLayout patternLayout = new PatternLayout();
+  private EnhancedPatternLayout patternLayout = new EnhancedPatternLayout();
 
   public EventDetailLayout() {
   }



Mime
View raw message