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 "Alexey Pomelov (JIRA)" <ji...@apache.org> on 2013/09/03 09:23:51 UTC

[jira] [Created] (LOG4J2-382) PatternLayout: truncating from the end

Alexey Pomelov created LOG4J2-382:
-------------------------------------

             Summary: PatternLayout: truncating from the end
                 Key: LOG4J2-382
                 URL: https://issues.apache.org/jira/browse/LOG4J2-382
             Project: Log4j 2
          Issue Type: Improvement
          Components: Layouts
            Reporter: Alexey Pomelov


The first case I've met: I'd like to print only first letter of the log record priority. %1.1p leads to R,N,O,G,E letters (not very friendly).
For example it will be nice to specify a negative number after dot and truncate token from the end.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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