logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: jakarta-log4j/src/java/org/apache/log4j/chainsaw Generator.java
Date Thu, 18 Dec 2003 21:34:32 GMT
psmith      2003/12/18 13:34:32

  Modified:    src/java/org/apache/log4j/chainsaw Generator.java
  Log:
  This took a LONG time to track down, but having a thread
  running forever while holding the syncronization lock is
  clearly not a good idea!! :)
  
  Revision  Changes    Path
  1.7       +1 -1      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Generator.java	15 Dec 2003 03:54:16 -0000	1.6
  +++ Generator.java	18 Dec 2003 21:34:32 -0000	1.7
  @@ -93,7 +93,7 @@
       return e;
     }
   
  -  public synchronized void run() {
  +  public void run() {
       NDC.push(baseString_);
       MDC.put("some string", "some value" + baseString_);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message