diff --git a/src/HIE/Bios/Cradle.hs b/src/HIE/Bios/Cradle.hs index 6d7f44a1..be871ada 100644 --- a/src/HIE/Bios/Cradle.hs +++ b/src/HIE/Bios/Cradle.hs @@ -1027,7 +1027,7 @@ readProcessWithOutputs outputNames l workDir cp = flip runContT return $ do -- Windows line endings are not converted so you have to filter out `'r` characters let loggingConduit = C.decodeUtf8 C..| C.lines C..| C.filterE (/= '\r') - C..| C.map T.unpack C..| C.iterM (\msg -> l <& LogAny msg `WithSeverity` Info) C..| C.sinkList + C..| C.map T.unpack C..| C.iterM (\msg -> l <& LogProcessOutput msg `WithSeverity` Debug) C..| C.sinkList (ex, stdo, stde) <- liftIO $ sourceProcessWithStreams process mempty loggingConduit loggingConduit res <- forM output_files $ \(name,path) -> diff --git a/src/HIE/Bios/Types.hs b/src/HIE/Bios/Types.hs index c6e7f122..974c2ca3 100644 --- a/src/HIE/Bios/Types.hs +++ b/src/HIE/Bios/Types.hs @@ -54,7 +54,9 @@ data ActionName a | Other a deriving (Show, Eq, Ord, Functor) -data Log = LogAny String +data Log = + LogAny String + | LogProcessOutput String deriving Show instance Pretty Log where