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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org