logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14435] New: - Right-truncate priority to 1 character
Date Mon, 11 Nov 2002 00:22:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14435>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14435

Right-truncate priority to 1 character

           Summary: Right-truncate priority to 1 character
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Appender
        AssignedTo: log4j-dev@jakarta.apache.org
        ReportedBy: shortpasta@yahoo.com
                CC: shortpasta@yahoo.com


Ability to truncate ending of a priority if length() > n characters

For example:
%-5p     Expands the size of the priority to 5 chars so INFO/WARN align with 
DEBUG, ERROR, and FATAL

Desired:
%1.p     Truncates the ending of the category if more than 1 char long.

This way I'd get <D>, or <I>, instead of <DEBUG>, <INFO>.

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


Mime
View raw message