psmith      2003/12/14 19:54:16

  Modified:    src/java/org/apache/log4j/chainsaw Generator.java
  Log:
  Ensured the Generator added the hostname property to the
  generated events for consistency.
  
  Revision  Changes    Path
  1.6       +1 -0      jakarta-log4j/src/java/org/apache/log4j/chainsaw/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/Generator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Generator.java    10 Dec 2003 21:35:06 -0000      1.5
  +++ Generator.java    15 Dec 2003 03:54:16 -0000      1.6
  @@ -88,6 +88,7 @@
           logger.getClass().getName(), logger, System.currentTimeMillis(), level,
           msg, t);
       e.setProperty(Constants.APPLICATION_KEY, getName());
  +    e.setProperty(Constants.HOSTNAME_KEY, "localhost");
   
       return e;
     }
  
  
  

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

Reply via email to