Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3655 from input-output-hk/andreas/CBR-275/Rename-…
Browse files Browse the repository at this point in the history
…launcher-log-file

[CBR-275] Change name of launcher log file.
  • Loading branch information
CodiePP authored Sep 26, 2018
2 parents a2be15c + ac1afd5 commit 9709f6f
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tools/src/launcher/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,10 @@ main =
Nothing ->
identity
Just _ ->
(ltHandlers %~ (\xs -> [LogHandler { _lhName="node", _lhFpath=Just "node.log"
, _lhBackend=FileTextBE
, _lhMinSeverity=Just Info
, _lhSecurityLevel=Just SecretLogLevel}
,LogHandler { _lhName="json", _lhFpath=Just "pub/node.pub"
, _lhBackend=FileJsonBE
, _lhMinSeverity=Just Info
, _lhSecurityLevel=Just PublicLogLevel}] ++ xs)) .
(ltHandlers %~ (\xs -> LogHandler { _lhName="launcher", _lhFpath=Just "pub/launcher"
, _lhBackend=FileTextBE
, _lhMinSeverity=Just Info
, _lhSecurityLevel=Just PublicLogLevel} : xs)) .
set ltMinSeverity Info
logException loggerName . usingLoggerName loggerName $
withConfigurations Nothing Nothing False loConfiguration $ \genesisConfig _ _ _ -> do
Expand Down

0 comments on commit 9709f6f

Please sign in to comment.