psmith      2003/09/04 23:08:42

  Modified:    src/java/org/apache/log4j/chainsaw LogUI.java
  Log:
  When a simple receiver is created, it's threshold is
  now set to be DEBUG.
  
  The rationale here is that otherwise it doesn't have a Level,
  and the GUI looks better when one is explicityl defined.
  
  Revision  Changes    Path
  1.22      +3 -1      jakarta-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java
  
  Index: LogUI.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/LogUI.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- LogUI.java        5 Sep 2003 03:39:43 -0000       1.21
  +++ LogUI.java        5 Sep 2003 06:08:42 -0000       1.22
  @@ -707,7 +707,9 @@
                     "setPort", new Class[] { int.class });
                 portMethod.invoke(
                   simpleReceiver, new Object[] { new Integer(port) });
  -
  +                     
  +                     simpleReceiver.setThreshold(Level.DEBUG);
  +                     
                 PluginRegistry.startPlugin(simpleReceiver);
                 receiversPanel.updateReceiverTreeInDispatchThread();
                 getStatusBar().setMessage(
  
  
  

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

Reply via email to