logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r829507 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java
Date Sun, 25 Oct 2009 08:10:25 GMT
Author: sdeboy
Date: Sun Oct 25 08:10:24 2009
New Revision: 829507

URL: http://svn.apache.org/viewvc?rev=829507&view=rev
Log:
When saving events for a Chainsaw tab, save properties as well (including new 'marker' property
if any events have the marker set)

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java?rev=829507&r1=829506&r2=829507&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/FileSaveAction.java Sun
Oct 25 08:10:24 2009
@@ -88,6 +88,7 @@
 
     File selectedFile = chooser.getSelectedFile();
     XMLLayout layout = new XMLLayout();
+    layout.setProperties(true);
     LoggingEvent event = null;
     PrintWriter out = null;
 



Mime
View raw message