bugzilla | 3 Nov 2008 08:08
Picon
Favicon

Bug report for Log4j [2008/11/02]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|23329|Ass|Enh|2003-09-22|<logger> element in XML config should support reso|
|26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|Inf|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|Inf|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
|30407|Inf|Maj|2004-07-30|Externally rolled file problem                    |
|30888|New|Maj|2004-08-27|Chainsaw mixes files in same panel                |
|30890|New|Min|2004-08-27|Newly opened log file should get focus            |
|30892|New|Min|2004-08-27|Log files cannot be closed                        |
(Continue reading)

Curt Arnold | 4 Nov 2008 18:35
Picon
Favicon

ApacheCon live video streaming available; keynotes and Apache 101 are free

Can't make ApacheCon this week in New Orleans?  You can still watch all
the keynotes, Apache 101 sessions, and system administration track in
live video streams:

   http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann

Keynotes and the Apache 101 lunchtime sessions are free; the full
sysadmin track, including httpd performance, security, and server stack
administration talks are available for a fee.

Keynotes include:
- David Recordon, Six Apart  (Wednesday 09:30)
   "Learning from Apache to create Open Specifications"

- Shahani Markus Weerawarana, Ph.D.  (Thursday 11:30)
   "Standing on the Shoulders of Giants"

- Sam Ramji, Microsoft  (Friday 11:30)
   "struct.new("future", :open, :microsoft)"

   Reminder: New Orleans is CST or UTC/GMT -6 hours.

Advance notice: ApacheCon EU 2009 returns to Amsterdam, 23-27 March.  We
had a great response to our CFP and look forward to announcing the
schedule in the next month.

Regards
--

-- 
Lars Eilebrecht  -  V.P., Conference Planning
lars <at> apache.org  -  http://www.us.apachecon.com
(Continue reading)

bugzilla | 4 Nov 2008 18:52
Picon
Favicon

DO NOT REPLY [Bug 46144] New: QuietWriter.write should ignore all Exceptions

https://issues.apache.org/bugzilla/show_bug.cgi?id=46144

           Summary: QuietWriter.write should ignore all Exceptions
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: yozh <at> mx1.ru

QuietWriter.write should ignore all Exception's, not only IOException.

Actually, it should ignore NullPointerException or just check input string for
null.

java.util.Writer.write

throws NullPointerException if passed string is null, and if null string
accidentally appeared in QuietWriter.write, it should be ignored, rather then
NullPointerException thrown.

Currently we have rare NullPointerException in logs somewhere inside log4j, and
we cannot repeat this situation:

===
java.lang.NullPointerException
(Continue reading)

bugzilla | 7 Nov 2008 01:17
Picon
Favicon

DO NOT REPLY [Bug 46163] New: LoggerDynamicMBean needs to handle a null Appender name

https://issues.apache.org/bugzilla/show_bug.cgi?id=46163

           Summary: LoggerDynamicMBean needs to handle a null Appender name
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev <at> logging.apache.org
        ReportedBy: psmith <at> apache.org

If a plain BasicConfigurator.configure() is called in an application after the
HierarchyMBean is instantiated, then an exception is thrown trying to create an
ObjectName for the appender based on the Appender's name property, which is
initialised to null, and is not allowed.

Instead, the LoggerDynamicMBean class should be defensive when creating a
Appender MBean's by detecting a null/empty string name and at least trying to
use .toString() to construct a logical display name.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 10 Nov 2008 00:16
Picon
Favicon

DO NOT REPLY [Bug 46163] LoggerDynamicMBean needs to handle a null Appender name

https://issues.apache.org/bugzilla/show_bug.cgi?id=46163

--- Comment #1 from Paul Smith <psmith <at> apache.org>  2008-11-09 15:16:06 PST ---
I have a simple patch for this that I'm just testing, it basically resorts to
defensively using the Appender.toString() in an attempt to get at least a value
for the JMX namespace.  If that fails, well, then you're screwed still.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 10 Nov 2008 08:08
Picon
Favicon

Bug report for Log4j [2008/11/09]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|23329|Ass|Enh|2003-09-22|<logger> element in XML config should support reso|
|26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|Inf|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|Inf|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
|30407|Inf|Maj|2004-07-30|Externally rolled file problem                    |
|30888|New|Maj|2004-08-27|Chainsaw mixes files in same panel                |
|30890|New|Min|2004-08-27|Newly opened log file should get focus            |
|30892|New|Min|2004-08-27|Log files cannot be closed                        |
(Continue reading)

bugzilla | 10 Nov 2008 12:19
Picon
Favicon

DO NOT REPLY [Bug 46163] LoggerDynamicMBean needs to handle a null Appender name

https://issues.apache.org/bugzilla/show_bug.cgi?id=46163

QualityChecker <qualitychecker <at> free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qualitychecker <at> free.fr

--- Comment #2 from QualityChecker <qualitychecker <at> free.fr>  2008-11-10 03:19:36 PST ---
You'll find here
http://d.cr.free.fr/wswebconsulterfichiers.php?projet=demojava_log4j&mode=res&fichier=org.apache.log4j.jmx.LoggerDynamicMBean.java.res&fichierxsl=
a collection of mistakes and errors. Most are easy to fix.

The entire log4j project is available here :
http://d.cr.free.fr/wswebconsulterfichiers.php?projet=demojava_log4j

If of interest for you, thanks for your (positive..) feedback.
Coming soon : CWE identification of bugs. 

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 12 Nov 2008 22:37
Picon
Favicon

DO NOT REPLY [Bug 33278] NPE thrown durring daily log file rollover

https://issues.apache.org/bugzilla/show_bug.cgi?id=33278

--- Comment #6 from QualityChecker <qualitychecker <at> free.fr>  2008-11-12 13:37:06 PST ---
I would suggest to add at least a test this.qw!=null and this.layout!=null at
the beginning of subAppend of WriterAppender, like it is done in many other
methods, even if they are tested in checkEntryConditions()
May be log a special alarm in case this.qw==null or this.layout==null ??

In writeFooter and writeHeader I would suggest to replace layout by
this.layout, more readable.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla | 17 Nov 2008 08:08
Picon
Favicon

Bug report for Log4j [2008/11/16]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker CRI=Critical  REG=Regression  MAJ=Major   |
|     |   |           MIN=Minor   NOR=Normal    ENH=Enhancement TRV=Trivial |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|13099|Opn|Nor|2002-09-27|DOMConfigurator ignores category factory setting  |
|17887|Opn|Maj|2003-03-11|RollingFileAppender does not work for 10 threads  |
|20395|Inf|Enh|2003-06-01|PreparedStatementAppender Enhancement             |
|23329|Ass|Enh|2003-09-22|<logger> element in XML config should support reso|
|26084|Inf|Nor|2004-01-13|Log Event detail panel does not show special chara|
|27363|Inf|Enh|2004-03-02|JNI based SyslogAppender                          |
|27367|Inf|Enh|2004-03-02|NetSendAppender                                   |
|28647|Ass|Enh|2004-04-28|Add "Flush on Level" capability to FileAppender   |
|29244|Inf|Nor|2004-05-27|Preserve XML content in log messages when using XM|
|29304|New|Nor|2004-05-30|Starting XMLSocketAppender from config file       |
|29305|New|Nor|2004-05-30|Chainsaw doesn't see locationinfo from XMLSocketRe|
|29735|New|Nor|2004-06-22|Receiver list display error  when receiver has no |
|30055|New|Nor|2004-07-12|Problem with registering Appenders with the same n|
|30407|Inf|Maj|2004-07-30|Externally rolled file problem                    |
|30888|New|Maj|2004-08-27|Chainsaw mixes files in same panel                |
|30890|New|Min|2004-08-27|Newly opened log file should get focus            |
|30892|New|Min|2004-08-27|Log files cannot be closed                        |
(Continue reading)

bugzilla | 18 Nov 2008 06:41
Picon
Favicon

DO NOT REPLY [Bug 45915] DeadLock occured in AsyncAppender

https://issues.apache.org/bugzilla/show_bug.cgi?id=45915

Roger <roger.wang <at> intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger.wang <at> intel.com

--- Comment #1 from Roger <roger.wang <at> intel.com>  2008-11-17 21:41:51 PST ---
I ran into a similar problem, but in the last I found that I was logging inside
the async appender's dispatch thread. May this is helpful for you.

--

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Gmane