摘要:
为了能将log4j的配置无缝转到logback,需要了解其中ConversionPattern的差异,以下是对比表格,内容来自:log4j官网logback官网其中可能需要转换的地方主要有两块:%l%xLog4jLog4j DescriptionLogbackLogback DescriptioncUsed to output the category of the logging event.c{length} / lo{length} / logger{length}Outputs the name of the logger at the origin of the logging ev 阅读全文