Home > Back-end >  After decorating the Logger, print record is less than original log line information
After decorating the Logger, print record is less than original log line information

Time:09-19

Org. Slf4j. Logger

Decorated with decorative pattern (LoggerDecoratorAppendLogKey4Cus) after the Logger, and print record is less than the original log line information, can you tell me how should deal with?

Decorative front:
The 2020-06-20 22:28:49 com. Test. Controller. Test. Warn (62). The test Java: ` test log `

After the decoration:
The 2020-06-20 22:28:49 com. Test. LoggerDecoratorAppendLogKey4Cus. Warn (LoggerDecoratorAppendLogKey4Cus. Java: 306) ` [1592663329655-2333] : test log `

  • Related