Skip to content

Commit 91aa96c

Browse files
committed
Update log messages
1 parent cd02890 commit 91aa96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/watcher/instance/nginx-app-protect-instance-watcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func (w *NginxAppProtectInstanceWatcher) haveVersionsChanged() bool {
292292
func (w *NginxAppProtectInstanceWatcher) readFile(ctx context.Context, filePath string) string {
293293
contents, err := os.ReadFile(filePath)
294294
if err != nil && !os.IsNotExist(err) {
295-
slog.WarnContext(ctx, "Unable to read NGINX App Protect file", "file_path", filePath, "error", err)
295+
slog.DebugContext(ctx, "Unable to read NGINX App Protect file", "file_path", filePath, "error", err)
296296
return ""
297297
}
298298

0 commit comments

Comments
 (0)