I have a seelog config file like
<seelog minlevel="info">
<outputs>
<console />
<rollingfile type="date" datepattern="060201" filename="/tmp/-myApp.log" maxrolls="5" archivetype="none"/>
</outputs>
</seelog>
What comes out are files like /tmp/-myApp.log.142711, I expected /tmp/142711-myApp.log as it is suggested at 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)
Can my expected behaviour be achieved somehow? Am I thinking in the wrong way?
As a developer states in https://github.com/cihub/seelog/issues/71 this unexpected behaviour results from a outdated documentation and may be addressed in the future. A "fix" to get the desired behaviour is not yet available.