Log4j各参数打印输出内容

[1]%c [2]%C [3]%d [4]%F [5]%l [6]%L [7]%m [8]%M [9]%n [10]%p [11]%r [12]%t [13]%x [14]%X [15]%%

[1]com.xikang.logging.index.Log4jTest [2]com.xikang.logging.index.Log4jTest [3]2012-09-18 14:53:18,015 [4]Log4jTest.java [5]com.xikang.logging.index.Log4jTest.main(Log4jTest.java:20) [6]20 [7]test log4j [8]main [9]
 [10]INFO [11]0 [12]main [13] [14]{} [15]%

你可能感兴趣的:(log4j)