From d825d9ea06425c95fb2499aa92e5730d84a97c14 Mon Sep 17 00:00:00 2001 From: Vyatcheslav Suharnikov Date: Tue, 12 Nov 2024 14:18:32 +0400 Subject: [PATCH] EcContainer: increased a log level --- .../test/scala/units/docker/EcContainer.scala | 1 + local-network/configs/besu/log4j2.xml | 24 ++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/consensus-client-it/src/test/scala/units/docker/EcContainer.scala b/consensus-client-it/src/test/scala/units/docker/EcContainer.scala index 7c20e44d..b795e887 100644 --- a/consensus-client-it/src/test/scala/units/docker/EcContainer.scala +++ b/consensus-client-it/src/test/scala/units/docker/EcContainer.scala @@ -24,6 +24,7 @@ class EcContainer(network: NetworkImpl, number: Int, ip: String)(implicit httpCl .withNetwork(network) .withExposedPorts(RpcPort, EnginePort) .withEnv("LOG4J_CONFIGURATION_FILE", "/config/log4j2.xml") + .withEnv("ROOT_LOG_FILE_LEVEL", "TRACE") .withFileSystemBind(s"$ConfigsDir/ec-common/genesis.json", "/genesis.json", BindMode.READ_ONLY) .withFileSystemBind(s"$ConfigsDir/besu", "/config", BindMode.READ_ONLY) .withFileSystemBind(s"$ConfigsDir/besu/run-besu.sh", "/tmp/run.sh", BindMode.READ_ONLY) diff --git a/local-network/configs/besu/log4j2.xml b/local-network/configs/besu/log4j2.xml index 6364c7fd..17b1a158 100644 --- a/local-network/configs/besu/log4j2.xml +++ b/local-network/configs/besu/log4j2.xml @@ -3,18 +3,20 @@ %date %-5level [%-25.25thread] %35.35c{1.} - %msg%n%throwable + DEBUG - + - - + + - - + + @@ -23,25 +25,25 @@ - + - + - + - + - - + +