logging:
Their example <https://github.com/cihub/seelog/wiki/Receiver-reference> for
a rolling log file date pattern is this:
<rollingfile type="date" filename="logs/roll.log" datepattern="02.01.2006" />
That creates filenames that don't list in order, however. When I change
the datepattern to be "2012-04-18" I get a file with the name
"180418-25-48 mailer.rolling.log"
which makes no sense at all. The datepattern is supposed to follow
time.Local().Format(). Where is it coming up with that prefix from?
Does anyone know how to get a datepattern with a YYYY-MM-DD
(year-month-day) prefix?
Thanks.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.