1
1
mirror of https://github.com/github/semantic.git synced 2024-12-18 20:31:55 +03:00

Merge pull request #2399 from github/aleph-fixes

Less noisy logging for alephd
This commit is contained in:
Josh Vera 2019-02-26 13:11:28 -05:00 committed by GitHub
commit d4223a2066

View File

@ -6,6 +6,7 @@ module Semantic.Config
, Options (..)
, defaultOptions
, debugOptions
, infoOptions
, lookupStatsAddr
, withHaystackFromConfig
, logOptionsFromConfig
@ -63,6 +64,9 @@ defaultOptions = Options (Just Warning) False False
debugOptions :: Options
debugOptions = Options (Just Debug) False False
infoOptions :: Options
infoOptions = Options (Just Info) False False
defaultConfig :: Options -> IO Config
defaultConfig options@Options{..} = do
pid <- getProcessID