Skip to content

Commit

Permalink
(fix) log level
Browse files Browse the repository at this point in the history
  • Loading branch information
kevincobain2000 committed Aug 7, 2024
1 parent cd22bcf commit bdc4ff0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
return
}
if len(newFilePaths) > f.filePathsCap {
slog.Error("Too many files found", "count", len(newFilePaths), "cap", f.filePathsCap)
slog.Warn("Too many files found", "count", len(newFilePaths), "cap", f.filePathsCap)
slog.Info("Capping to", "count", f.filePathsCap)
}

Expand Down Expand Up @@ -148,7 +148,11 @@ func sendHealthCheck() {
details := []gmt.Details{
{
Label: "Health Check",
Message: "All OK, watching logs is running actively next ping in " + fmt.Sprintf("%d", f.healthCheckEvery) + " seconds",
Message: "All OK, go-watch-logs is running actively.",
},
{
Label: "Next Ping",
Message: fmt.Sprintf("%d seconds", f.healthCheckEvery),
},
{
Label: "Version",
Expand Down

0 comments on commit bdc4ff0

Please sign in to comment.