【发布时间】:2012-10-29 05:29:20
【问题描述】:
目前我在 microlog.properties 文件中使用如下所示。
microlog.formatter.PatternFormatter.pattern=[%d]:[%P] %c - %m %T
得到的结果是Microlog 38623:[INFO]-this is my class.
我想获取 1) 日期时间为 29-10-2012 : 21:55:40 和 2) append the line of the class 到日志文件。
如何设置属性文件来设置两者?
【问题讨论】: