mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +03:00
Reduce verbosity
This commit is contained in:
parent
7e86477a7d
commit
ed352cc28c
3 changed files with 11 additions and 3 deletions
2
vendor/github.com/jedisct1/dlog/dlog.go
generated
vendored
2
vendor/github.com/jedisct1/dlog/dlog.go
generated
vendored
|
@ -187,7 +187,7 @@ func logf(severity Severity, format string, args ...interface{}) {
|
|||
if _globals.syslogger != nil {
|
||||
(*_globals.syslogger).WriteLevel(severityToSyslogPriority[severity], []byte(message))
|
||||
} else {
|
||||
line := fmt.Sprintf("[%d-%02d-%02d %02d:%02d:%02d] [%s] [%s] %s\n", year, int(month), day, hour, minute, second, _globals.appName, SeverityName[severity], message)
|
||||
line := fmt.Sprintf("[%d-%02d-%02d %02d:%02d:%02d] [%s] %s\n", year, int(month), day, hour, minute, second, SeverityName[severity], message)
|
||||
if _globals.outFd != nil {
|
||||
_globals.outFd.WriteString(line)
|
||||
_globals.outFd.Sync()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue