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

Commit ff89c4b

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

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
@@ -313,14 +313,10 @@ main =
313313
Nothing ->
314314
identity
315315
Just _ ->
316-
(ltHandlers %~ (\xs -> [LogHandler { _lhName="node", _lhFpath=Just "node.log"
317-
, _lhBackend=FileTextBE
318-
, _lhMinSeverity=Just Info
319-
, _lhSecurityLevel=Just SecretLogLevel}
320-
,LogHandler { _lhName="json", _lhFpath=Just "pub/node.pub"
321-
, _lhBackend=FileJsonBE
322-
, _lhMinSeverity=Just Info
323-
, _lhSecurityLevel=Just PublicLogLevel}] ++ xs)) .
316+
(ltHandlers %~ (\xs -> LogHandler { _lhName="launcher", _lhFpath=Just "pub/launcher"
317+
, _lhBackend=FileTextBE
318+
, _lhMinSeverity=Just Info
319+
, _lhSecurityLevel=Just PublicLogLevel} : xs)) .
324320
set ltMinSeverity Info
325321
logException loggerName . usingLoggerName loggerName $
326322
withConfigurations Nothing Nothing False loConfiguration $ \genesisConfig _ _ _ -> do

0 commit comments

Comments
 (0)