You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2006/08/31 19:01:11 UTC

DO NOT REPLY [Bug 40378] New: - Chainsaw of log4j 1.2 does not show TRACE level

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=40378>.
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=40378

           Summary: Chainsaw of log4j 1.2 does not show TRACE level
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: chainsaw
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: log4j@schepperle.de


Chainsaw included in log4j 1.2.13 does not allow to display TRACE messages
because TRACE cannot be selected in the filter list.

I still prefer to use this version to chainsaw v2 therefore I have used the
following workaround:

Change in org.apache.log4j.Priority the method getAllPossiblePriorities():

getAllPossiblePriorities() {
    return new Priority[] {Priority.FATAL, Priority.ERROR, Level.WARN,
Priority.INFO, Priority.DEBUG, Level.TRACE};
  }

I do not know if this solution would harm any other components. Perhaps
Level.OFF at the begin and Level.ALL as the last element could be used also.

-- 
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.

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


DO NOT REPLY [Bug 40378] - Chainsaw of log4j 1.2 does not show TRACE level

Posted by bu...@apache.org.
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=40378>.
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=40378


carnold@apache.org changed:

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




------- Additional Comments From carnold@apache.org  2006-09-13 19:47 -------
Fixed in rev 443096.  Instead of changing Priority.getAllPossiblePriorities(), I modified 
o.a.l.chainsaw.ControlPanel to create its own array of possible levels.  Appears to address the issue and 
eliminate the potential to break apps that might be surprised by TRACE showing up in all possible 
priorities.

-- 
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.

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