如何实现log4js重新检测配置~
用log4js如何实现每天创建一个不同的名字的.log比如2013-04-27.log 2013-04-26.log
2 回复
{ "appenders": [ {
"type": "dateFile",
"filename": "blah.log",
"pattern": "-yyyy-MM-dd"
} ]
}
Date rolling file appender https://github.com/nomiddlename/log4js-node/wiki/Date%20rolling%20file%20appender