[%d{yyyy-MM-dd HH:mm:ss.SSS}] - %-5p - [%c]:%L.%method:%L - %msg%nexamples.javacodegeeks.com/enterprise-…| What to print | Conversion character | Performance |
| Category Name (or Logger Name) | c | Fast |
| Fully Qualified Class Name | C | Slow |
| Date and Time | dd{format} | Slow if using JDK’s Formatters. Fast if using Log4j Formatters. |
| Filename of Java class | F | Extremely slow |
| Location (Class, Method, and line number) | l | Extremely slow |
| Line Number only | L | Extremely slow |
| Log Message | m | Fast |
| Method Name | M | Extremely slow |
| Priority (level) | p | Fast |
| New Line Separator | n | Fast |
| Thread Name | t | Fast |
| Time Elapsed (in milliseconds) | r | Fast |
| Thread’s Nested Diagnostic Context | x | Fast |
| Thread’s Mapped Diagnostic Context | X | Fast |
| Percent Sign | %% |