From 7ed885f1446eedee28def06e30cd80e865702999 Mon Sep 17 00:00:00 2001 From: Viktor Kirilov Date: Mon, 12 Oct 2020 13:54:41 +0300 Subject: [PATCH] configuring a writer for the dynamic log output device for the VC binary as well (same as in the BN) --- beacon_chain/validator_client.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon_chain/validator_client.nim b/beacon_chain/validator_client.nim index 1c5af28db..9d2e6a07e 100644 --- a/beacon_chain/validator_client.nim +++ b/beacon_chain/validator_client.nim @@ -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