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

Commit ac1afd5

Browse files
author
Andreas Triantafyllos
committed
[CBR-275] Change name of launcher log file.
1 parent ba0d7e1 commit ac1afd5

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tools/src/launcher/Main.hs

+4-8
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,10 @@ main =
315315
Nothing ->
316316
identity
317317
Just _ ->
318-
(ltHandlers %~ (\xs -> [LogHandler { _lhName="node", _lhFpath=Just "node.log"
319-
, _lhBackend=FileTextBE
320-
, _lhMinSeverity=Just Info
321-
, _lhSecurityLevel=Just SecretLogLevel}
322-
,LogHandler { _lhName="json", _lhFpath=Just "pub/node.pub"
323-
, _lhBackend=FileJsonBE
324-
, _lhMinSeverity=Just Info
325-
, _lhSecurityLevel=Just PublicLogLevel}] ++ xs)) .
318+
(ltHandlers %~ (\xs -> LogHandler { _lhName="launcher", _lhFpath=Just "pub/launcher"
319+
, _lhBackend=FileTextBE
320+
, _lhMinSeverity=Just Info
321+
, _lhSecurityLevel=Just PublicLogLevel} : xs)) .
326322
set ltMinSeverity Info
327323
logException loggerName . usingLoggerName loggerName $
328324
withConfigurations Nothing Nothing False loConfiguration $ \genesisConfig _ _ _ -> do

0 commit comments

Comments
 (0)