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:
Matthew McPherrin 2024-09-26 14:49:54 -04:00 committed by GitHub
parent d71b4bc62b
commit 8dac30f1ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
}
}()