Log the time hourly (#7723)
Logging it every minute is just a bit too much log volume and adds a fair amount of clutter, especially for 'quieter' services.
This commit is contained in:
parent
d71b4bc62b
commit
8dac30f1ad
|
|
@ -222,7 +222,7 @@ func NewLogger(logConf SyslogConfig) blog.Logger {
|
|||
// Boulder's conception of time.
|
||||
go func() {
|
||||
for {
|
||||
time.Sleep(time.Minute)
|
||||
time.Sleep(time.Hour)
|
||||
logger.Info(fmt.Sprintf("time=%s", time.Now().Format(time.RFC3339Nano)))
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Reference in New Issue