log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n. 如果想對不同的類輸出不同的文件(以cn.com.Test為例),先要在Test.java中定義:.
確定! 回上一頁