diff --git a/src/Semantic/Config.hs b/src/Semantic/Config.hs index 8e7460c6c..7e7cf1b9f 100644 --- a/src/Semantic/Config.hs +++ b/src/Semantic/Config.hs @@ -25,7 +25,7 @@ import qualified Semantic.Telemetry.Haystack as Haystack import qualified Semantic.Telemetry.Stat as Stat import Semantic.Version import System.Environment -import System.IO (hIsTerminalDevice, stderr) +import System.IO (hIsTerminalDevice, stdout) import System.Posix.Process import System.Posix.Types @@ -66,7 +66,7 @@ defaultConfig :: Options -> IO Config defaultConfig options@Options{..} = do pid <- getProcessID hostName <- getHostName - isTerminal <- hIsTerminalDevice stderr + isTerminal <- hIsTerminalDevice stdout haystackURL <- lookupEnv "HAYSTACK_URL" (statsHost, statsPort) <- lookupStatsAddr size <- envLookupNum 1000 "MAX_TELEMETRY_QUEUE_SIZE"