Description
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.
Attachments
Issue Links
- duplicates
-
LOG4J2-926 Truncate from the end of text format modifier
- Resolved
- is related to
-
LOG4J2-621 Pattern to drop first N package parts
- Open