Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
log: Use millisecond time resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
jolan authored May 8, 2017
1 parent 489e1c4 commit bbef8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbef8b8

Please sign in to comment.