psmith      2003/09/15 16:25:58

  Modified:    src/java/org/apache/log4j/chainsaw/layout
                        EventDetailLayout.java
  Log:
  Fixed bug where changing the conversion pattern
  of the Patternlayout did not call activateOptions, and so the change
  had no visible effect.
  
  Revision  Changes    Path
  1.3       +1 -0      
jakarta-log4j/src/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java
  
  Index: EventDetailLayout.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/layout/EventDetailLayout.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EventDetailLayout.java    4 Sep 2003 05:45:16 -0000       1.2
  +++ EventDetailLayout.java    15 Sep 2003 23:25:58 -0000      1.3
  @@ -81,6 +81,7 @@
   
     public void setConversionPattern(String conversionPattern) {
       patternLayout.setConversionPattern(conversionPattern);
  +    patternLayout.activateOptions();
     }
   
     public String getConversionPattern() {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to