我有一個seelog配置文件,如<seelog minlevel="info"> <outputs> <console /> <rollingfile type="date" datepattern="060201" filename="/tmp/-myApp.log" maxrolls="5" archivetype="none"/> </outputs></seelog>出來的是像/tmp/-myApp.log.142711這樣的文件,我期望/tmp/142711-myApp.log,正如https://github.com/cihub/seelog/wiki/Receiver-reference qoute所建議的那樣:* In case of 'date' rolling, the file names will be formed this way: time.Now().Format(rollfileWriter.datePattern)+" "+rollFileWriter.fileName)可以以某種方式實現我的預期行為嗎?我是否以錯誤的方式思考?
- 1 回答
- 0 關注
- 232 瀏覽
添加回答
舉報
0/150
提交
取消