From aa8b7be2395f4c8b886452b0703ea1ce0cf62393 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Fri, 9 Oct 2020 21:04:03 +0100 Subject: [PATCH] Downgrade file watch debug log to logDebug from logInfo (#848) This gets quite noisy when cabal is building dependencies which makes it hard to see what's going on. --- src/Development/IDE/LSP/Notifications.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Development/IDE/LSP/Notifications.hs b/src/Development/IDE/LSP/Notifications.hs index 70e9fdead..a0df325ff 100644 --- a/src/Development/IDE/LSP/Notifications.hs +++ b/src/Development/IDE/LSP/Notifications.hs @@ -85,7 +85,7 @@ setHandlersNotifications = PartialHandlers $ \WithMessage{..} x -> return x ) ( F.toList fileEvents ) let msg = Text.pack $ show events - logInfo (ideLogger ide) $ "Files created or deleted: " <> msg + logDebug (ideLogger ide) $ "Files created or deleted: " <> msg modifyFileExists ide events setSomethingModified ide