Skip to content

Commit

Permalink
- fix error date in the log #111
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Mar 17, 2020
1 parent 5966e7e commit 47faf73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pgengine/access.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const AppID = 0x204F04EE

// GetLogPrefix perform formatted logging
func GetLogPrefix(level string) string {
return fmt.Sprintf("[%v | %s | %-6s]:\t %%s", time.Now().Format("2006-01-01 15:04:05.000"), ClientName, level)
return fmt.Sprintf("[%v | %s | %-6s]:\t %%s", time.Now().Format("2006-01-02 15:04:05.000"), ClientName, level)
}

// GetLogPrefixLn perform formatted logging with new line at the end
Expand Down

0 comments on commit 47faf73

Please sign in to comment.