mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
log: Use millisecond time resolution.
This commit is contained in:
parent
489e1c4338
commit
bbef8b8ccb
2
log.go
2
log.go
@ -168,7 +168,7 @@ func initSeelogLogger(logFile string) {
|
||||
<rollingfile type="size" filename="%s" maxsize="10485760" maxrolls="3" />
|
||||
</outputs>
|
||||
<formats>
|
||||
<format id="all" format="%%Time %%Date [%%LEV] %%Msg%%n" />
|
||||
<format id="all" format="%%Date(15:04:05.000 2006-01-02) [%%LEV] %%Msg%%n" />
|
||||
</formats>
|
||||
</seelog>`
|
||||
config = fmt.Sprintf(config, logFile)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user