Log4j in Action——日誌記錄

log4j日誌記錄到文件 要寫日誌信息到一個文件中,必須使用org.apache.log4j.FileAppender。有以下FileAppender的配置參數: # Define the root logger with appender file log = src/main/java/com/leesanghyuk/tst log4j.rootLogger = DEBUG, FILE #
相關文章
相關標籤/搜索