我有一個(gè)seelog配置文件,如<seelog minlevel="info"> <outputs> <console /> <rollingfile type="date" datepattern="060201" filename="/tmp/-myApp.log" maxrolls="5" archivetype="none"/> </outputs></seelog>出來(lái)的是像/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)可以以某種方式實(shí)現(xiàn)我的預(yù)期行為嗎?我是否以錯(cuò)誤的方式思考?
- 1 回答
- 0 關(guān)注
- 231 瀏覽
添加回答
舉報(bào)
0/150
提交
取消