carnold | 1 Sep 06:50 2006
Picon

svn commit: r439177 - in /logging/log4j/trunk/src/java/org/apache/log4j: scheduler/Scheduler.java spi/LocationInfo.java

Author: carnold
Date: Thu Aug 31 21:50:45 2006
New Revision: 439177

URL: http://svn.apache.org/viewvc?rev=439177&view=rev
Log:
Bug 34762: Scheduler uses notify not notifyAll

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/scheduler/Scheduler.java
    logging/log4j/trunk/src/java/org/apache/log4j/spi/LocationInfo.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/scheduler/Scheduler.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/scheduler/Scheduler.java?rev=439177&r1=439176&r2=439177&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/scheduler/Scheduler.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/scheduler/Scheduler.java Thu Aug 31 21:50:45 2006
 <at>  <at>  -82,7 +82,7  <at>  <at> 
       // if the job is the first on the list, then notify the scheduler thread
       // to schedule a new job
       if(i == 0) {
-        this.notify();
+        this.notifyAll();
       }
       return true;
     } else {
 <at>  <at>  -154,11 +154,11  <at>  <at> 
     jobList.add(i, newSJE);
     // if the jobList was empty, then notify the scheduler thread
     if(i == 0) {
(Continue reading)

bugzilla | 1 Sep 06:48 2006
Picon

DO NOT REPLY [Bug 34762] - Scheduler uses notify, not notifyAll

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34762>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34762

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|Cleanup of source; remove   |Scheduler uses notify, not
                   |unused variables, etc.      |notifyAll

------- Additional Comments From carnold <at> apache.org  2006-09-01 04:48 -------
Some suggested changes had already been fixed or the underlying code eliminated or substantially 
rewritten.  Many of the changes were to variables that were not declared a private which means that 
eliminating them may cause binary-compatibility problems though usually only limited to code that 
inserted itself into a org.apache.log4j package to access package visible members.

The two changes that were committed were to make NA_LOCATION_INFO final and changing the notify's in 
Scheduler to notifyAll and synchronizing the close method.  Scheduler has been very problematic in the 
Gump tests, use of notify might have been at least partially responsible.  I'm changing the title to reflect 
the major effect of the change.

Committed rev 439177.

(Continue reading)

bugzilla | 1 Sep 06:58 2006
Picon

DO NOT REPLY [Bug 35448] - LoggingEvent not serialization compatible between log4j 1.2 and 1.3

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35448>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35448

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
            Summary|No events displayed by from |LoggingEvent not
                   |SocketAppender              |serialization compatible
                   |                            |between log4j 1.2 and 1.3

------- Additional Comments From carnold <at> apache.org  2006-09-01 04:58 -------
Changing title to reflect underlying problem.  Known issue, but apparently no bug ever logged for it.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Sep 07:00 2006
Picon

DO NOT REPLY [Bug 35448] - LoggingEvent not serialization compatible between log4j 1.2 and 1.3

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35448>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35448

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |DUPLICATE

------- Additional Comments From carnold <at> apache.org  2006-09-01 05:00 -------
Oops, there it is.

*** This bug has been marked as a duplicate of 35159 ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Sep 07:00 2006
Picon

DO NOT REPLY [Bug 35159] - Support serial compatibility of LoggingEvent between 1.2.x and 1.3

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35159>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35159

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smcardle <at> spansurf.com

------- Additional Comments From carnold <at> apache.org  2006-09-01 05:00 -------
*** Bug 35448 has been marked as a duplicate of this bug. ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Sep 07:05 2006
Picon

DO NOT REPLY [Bug 38557] - Log level change is not reflecting in logs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38557

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From carnold <at> apache.org  2006-09-01 05:05 -------
Marking invalid as this is more of a support request than a bug report and nothing that can be acted upon.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
carnold | 1 Sep 07:13 2006
Picon

svn commit: r439183 - /logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java

Author: carnold
Date: Thu Aug 31 22:13:37 2006
New Revision: 439183

URL: http://svn.apache.org/viewvc?rev=439183&view=rev
Log:
Bug 38559: Monthly logs not generated at midnight with DRFA

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java?rev=439183&r1=439182&r2=439183&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/DailyRollingFileAppender.java Thu Aug 31
22:13:37 2006
 <at>  <at>  -424,6 +424,7  <at>  <at> 
     case DailyRollingFileAppender.TOP_OF_WEEK:
 	this.set(Calendar.DAY_OF_WEEK, getFirstDayOfWeek());
 	this.set(Calendar.HOUR_OF_DAY, 0);
+	this.set(Calendar.MINUTE, 0);
 	this.set(Calendar.SECOND, 0);
 	this.set(Calendar.MILLISECOND, 0);
 	this.add(Calendar.WEEK_OF_YEAR, 1);
 <at>  <at>  -431,6 +432,7  <at>  <at> 
     case DailyRollingFileAppender.TOP_OF_MONTH:
 	this.set(Calendar.DATE, 1);
 	this.set(Calendar.HOUR_OF_DAY, 0);
+	this.set(Calendar.MINUTE, 0);
(Continue reading)

carnold | 1 Sep 07:13 2006
Picon

svn commit: r439184 - /logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java

Author: carnold
Date: Thu Aug 31 22:13:58 2006
New Revision: 439184

URL: http://svn.apache.org/viewvc?rev=439184&view=rev
Log:
Bug 38559: Monthly logs not generated at midnight with DRFA

Modified:
    logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java

Modified: logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java?rev=439184&r1=439183&r2=439184&view=diff
==============================================================================
---
logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java (original)
+++
logging/log4j/branches/v1_2-branch/src/java/org/apache/log4j/DailyRollingFileAppender.java
Thu Aug 31 22:13:58 2006
 <at>  <at>  -421,6 +421,7  <at>  <at> 
     case DailyRollingFileAppender.TOP_OF_WEEK:
 	this.set(Calendar.DAY_OF_WEEK, getFirstDayOfWeek());
 	this.set(Calendar.HOUR_OF_DAY, 0);
+	this.set(Calendar.MINUTE, 0);
 	this.set(Calendar.SECOND, 0);
 	this.set(Calendar.MILLISECOND, 0);
 	this.add(Calendar.WEEK_OF_YEAR, 1);
 <at>  <at>  -428,6 +429,7  <at>  <at> 
     case DailyRollingFileAppender.TOP_OF_MONTH:
 	this.set(Calendar.DATE, 1);
(Continue reading)

bugzilla | 1 Sep 07:12 2006
Picon

DO NOT REPLY [Bug 38559] - Monthly logs not generated at midnight with DailyRollingFileAppender

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38559

carnold <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From carnold <at> apache.org  2006-09-01 05:12 -------
Also would effect weekly rollovers.

Committed revs 439183 (trunk) and 439184 (1.2 branch).

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
carnold | 1 Sep 07:19 2006
Picon

svn commit: r439186 - in /logging/log4j/trunk/src/java/org/apache/log4j/net: MulticastAppender.java UDPAppender.java

Author: carnold
Date: Thu Aug 31 22:19:48 2006
New Revision: 439186

URL: http://svn.apache.org/viewvc?rev=439186&view=rev
Log:
Bug 39145: UDP and multicast appenders are not activated

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/net/MulticastAppender.java
    logging/log4j/trunk/src/java/org/apache/log4j/net/UDPAppender.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/net/MulticastAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/net/MulticastAppender.java?rev=439186&r1=439185&r2=439186&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/net/MulticastAppender.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/net/MulticastAppender.java Thu Aug 31
22:19:48 2006
 <at>  <at>  -106,6 +106,7  <at>  <at> 
     }

     connect();
+    super.activateOptions();
   }

   /**

Modified: logging/log4j/trunk/src/java/org/apache/log4j/net/UDPAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/net/UDPAppender.java?rev=439186&r1=439185&r2=439186&view=diff
==============================================================================
(Continue reading)


Gmane