configuring a writer for the dynamic log output device for the VC binary as well (same as in the BN)

This commit is contained in:
Viktor Kirilov 2020-10-12 13:54:41 +03:00 committed by zah
parent 7ad59b1852
commit 7ed885f144
1 changed files with 2 additions and 0 deletions

View File

@ -270,6 +270,8 @@ proc onSlotStart(vc: ValidatorClient, lastSlot, scheduledSlot: Slot) {.gcsafe, a
programMain:
let config = makeBannerAndConfig("Nimbus validator client v" & fullVersionStr, ValidatorClientConf)
setupStdoutLogging(config.logLevel)
setupLogging(config.logLevel, config.logFile)
case config.cmd