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

[CBR-275] Change name of launcher log file. #3655

Merged
merged 1 commit into from
Sep 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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