Jelajahi Sumber

bugfix: fsnotify event logs moved to DEBUG level, because info was spammy

jamesread 1 tahun lalu
induk
melakukan
8d839ee6ce
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      internal/filehelper/file_change_notify.go

+ 1 - 1
internal/filehelper/file_change_notify.go

@@ -148,7 +148,7 @@ func processDebounce(ctx *watchContext) {
 		debounceWriteLog[ctx.filename] = logEntry
 		debounceWriteLog[ctx.filename] = logEntry
 	}
 	}
 
 
-	log.Infof("fsnotify event %+v", logEntry)
+	log.Debugf("fsnotify event %+v", logEntry)
 
 
 	if logEntry.callbackComplete || logEntry.callbackWrapper == nil {
 	if logEntry.callbackComplete || logEntry.callbackWrapper == nil {
 		log.Debugf("fsnotify event callback queued within debounce delay: %v", ctx.filename)
 		log.Debugf("fsnotify event callback queued within debounce delay: %v", ctx.filename)