Skip to content

Commit

Permalink
Log the time hourly (#7723)
Browse files Browse the repository at this point in the history
Logging it every minute is just a bit too much log volume and adds a
fair amount of clutter, especially for 'quieter' services.
  • Loading branch information
mcpherrinm committed Sep 26, 2024
1 parent d71b4bc commit 8dac30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
}()
Expand Down

0 comments on commit 8dac30f

Please sign in to comment.