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

Commit

Permalink
[CBR-275] Change name of launcher log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Triantafyllos committed Sep 24, 2018
1 parent 6b7c789 commit ff89c4b
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 @@ -313,14 +313,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 ff89c4b

Please sign in to comment.