1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 04:41:47 +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 (..) , Options (..)
, defaultOptions , defaultOptions
, debugOptions , debugOptions
, infoOptions
, lookupStatsAddr , lookupStatsAddr
, withHaystackFromConfig , withHaystackFromConfig
, logOptionsFromConfig , logOptionsFromConfig
@ -63,6 +64,9 @@ defaultOptions = Options (Just Warning) False False
debugOptions :: Options debugOptions :: Options
debugOptions = Options (Just Debug) False False debugOptions = Options (Just Debug) False False
infoOptions :: Options
infoOptions = Options (Just Info) False False
defaultConfig :: Options -> IO Config defaultConfig :: Options -> IO Config
defaultConfig options@Options{..} = do defaultConfig options@Options{..} = do
pid <- getProcessID pid <- getProcessID