Files
linea-monorepo/config/coordinator/log4j2-dev.xml
Fluent Crafter 0c7c736830 coordinator: adds config v2 (#853)
* coordinator: adds config v2 sample

* coordinator: update config V2

* coordinator: update config v2

* coordinator: update config v2

* coordinator: config v2 wip

* spotless fix

* coordinator: adds config v2 parsers

* coordinator: adds config v2 classes and parsing tests

* coordinator: adds config v2 classes and parsing tests

* remove end2end changes from staterecovery test trigger

* coordinator: config v2 - fix prover directory config

* coordinator: add getChaindId to EthApiClient.kt

* coordinator: improve EIP1559GasProvider validation

* coordinator: add createReadOnly to Web3JL2MessageServiceSmartContractClient

* coordinator: add validation to FeeHistoryFetcherImpl

* coordinator: add more configs to v2

* coordinator: extend Web3JFactory

* coordinator: addapt CoordinatorApp to new V2 configs

* coordinator: adapt local stack coordinator configs

* coordinator: log4j clients.l1 debug

* coordinator: revert attempt to use web3signer on CI ONly :(

* coordinator: fix test and configs

* coordinator: fix test and configs

* coordinator: fix traces node address

* coordinator: remove unnecessary file

* coordinator: hardcode tracesVersion to v2.1.0 to match prover regex

* Update config/coordinator/coordinator-config-v2.toml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>

* coordinator: default targetBlobsPerTransaction=7u

* coordinator: hardcode tracesVersion to 2.1.0 to match prover regex

* coordinator: fix agg configs

* coordinator: strict configs log warning when config is not used

* coordinator: add carved out config files

* coordinator: add opt-in to avoid annoying warning log

* feat: update Makefile for new coordinator config file and variable name

* localstack: remove coordinator forced platform

* coordinator: add missing config on gas-price-cap-calculation

* coordinator: remove old configs

---------

Signed-off-by: Fluent Crafter <205769460+fluentcrafter@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Roman Vaseev <4833306+Filter94@users.noreply.github.com>
Co-authored-by: jonesho <81145364+jonesho@users.noreply.github.com>
Co-authored-by: jonesho <jones.ho@consensys.net>
2025-06-06 11:15:01 +01:00

144 lines
7.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn" shutdownHook="disable" monitorInterval="2" packages="net.consensys.linea.logging">
<Properties>
<Property name="logPath">tmp/logs/coordinator</Property>
<Property name="logPathJson">tmp/logs/coordinator-json</Property>
<Property name="logPathJsonCustom">tmp/logs/coordinator-json-custom</Property>
<Property name="logFileName">coordinator</Property>
<!-- <Property name="logPattern">time=%d{ISO8601}Z level=%level message=%m | logger=%c{1} thread=%t | %throwable{separator(\n)}%n</Property>-->
<Property name="logPattern">time=%d{ISO8601}Z level=%level message=%m | logger=%c{1} thread=%t | %throwable%n
</Property>
</Properties>
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="${logPattern}"/>
</Console>
<Rewrite name="rewrite">
<AppenderRef ref="console"/>
<Log4jLineaRewriter>
<KnownErrors>
<KnownError logLevel="DEBUG" message="^.*?\bAlready known\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bTransaction receipt was not generated after\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bShutting down\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bKnown transaction\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bHeader not found\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bBlock not found\b.*?$" />
<KnownError logLevel="INFO" message="^.*?\bReplacement transaction underpriced\b.*?$" />
<KnownError logLevel="INFO" message="^.*?\bNonce too low\b.*?$" />
<KnownError logLevel="DEBUG" message="^.*?\bConnection reset\b.*?$" stackTrace="true" />
<KnownError logLevel="INFO" message="^.*?\beth_call\b.*?\bContract Call has been reverted by the EVM with the reason\b.*?$"/>
<KnownError logLevel="INFO" message="^.*?\brequest beyond head block\b.*?$"/>
</KnownErrors>
</Log4jLineaRewriter>
</Rewrite>
<!-- <Console name="consoleJSON" target="SYSTEM_OUT">-->
<!-- <JSONLayout compact="true" eventEol="true" includeStacktrace="true" includeTimeMillis="true"-->
<!-- stacktraceAsString="true"/>-->
<!-- </Console>-->
<!-- <Console name="consoleJSONCustom" target="SYSTEM_OUT">-->
<!-- <JsonTemplateLayout eventTemplateUri="classpath:EcsJsonLayout.json"/>-->
<!-- </Console>-->
<RollingFile name="RollingLogFile" fileName="${logPath}/${logFileName}.log"
filePattern="${logPath}/${logFileName}-%d{yyyy-MM-dd-HH-mm-ss}-%i.log">
<PatternLayout pattern="${logPattern}"/>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy max="20"/>
</RollingFile>
<Async name="AsyncLogFile">
<AppenderRef ref="RollingLogFile"/>
</Async>
<!-- File Appender -->
<!-- <RollingFile name="RollingLogFileJson" fileName="${logPathJson}/${logFileName}.log"-->
<!-- filePattern="${logPathJson}/${logFileName}-%d{yyyy-MM-dd-HH-mm-ss}-%i.log">-->
<!-- <JSONLayout compact="true" eventEol="true" includeStacktrace="true" includeTimeMillis="true"-->
<!-- stacktraceAsString="true"/>-->
<!-- <Policies>-->
<!-- <OnStartupTriggeringPolicy/>-->
<!-- <SizeBasedTriggeringPolicy size="10MB"/>-->
<!-- </Policies>-->
<!-- <DefaultRolloverStrategy max="20"/>-->
<!-- </RollingFile>-->
<!-- <RollingFile name="RollingLogFileJsonCustom" fileName="${logPathJsonCustom}/${logFileName}.log"-->
<!-- filePattern="${logPathJsonCustom}/${logFileName}-%d{yyyy-MM-dd-HH-mm-ss}-%i.log">-->
<!-- <JsonTemplateLayout eventTemplateUri="classpath:EcsJsonLayout.json"/>-->
<!-- <Policies>-->
<!-- <OnStartupTriggeringPolicy/>-->
<!-- <SizeBasedTriggeringPolicy size="10MB"/>-->
<!-- </Policies>-->
<!-- <DefaultRolloverStrategy max="20"/>-->
<!-- </RollingFile>-->
</Appenders>
<Loggers>
<!-- <Logger name="net.consensys.linea.jsonrpc.client" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.zkevm.ethereum.coordination.dynamicgasprice.GasPriceUpdaterImpl" level="TRACE" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.zkevm.coordinator.blockcreation" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.linea" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.zkevm" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.zkevm.ethereum.coordination.conflation" level="TRACE" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="net.consensys.zkevm.ethereum.coordination.blob" level="TRACE" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<Logger name="net.consensys.zkevm.ethereum.submission" level="INFO" additivity="false">
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="net.consensys.linea.ethereum.gaspricing.staticcap" level="ERROR" additivity="false">
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="net.consensys.zkevm.ethereum.finalization" level="INFO" additivity="false">
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="net.consensys.linea.ethereum.gaspricing.dynamiccap" level="INFO" additivity="false">
<DebouncingFilter/>
<appender-ref ref="rewrite"/>
</Logger>
<Logger name="clients.l2" level="DEBUG" additivity="false">
<DebouncingFilter/>
<appender-ref ref="console"/>
</Logger>
<Logger name="clients.l1" level="DEBUG" additivity="false">
<DebouncingFilter/>
<appender-ref ref="console"/>
</Logger>
<!-- <Logger name="clients.TracesCounters" level="TRACE" additivity="false">-->
<!-- <DebouncingFilter/>-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="clients.l2" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<!-- <Logger name="clients" level="DEBUG" additivity="false">-->
<!-- <appender-ref ref="console"/>-->
<!-- </Logger>-->
<Root level="INFO" additivity="true">
<appender-ref ref="console"/>
<!-- <appender-ref ref="consoleJSON"/>-->
<!-- <appender-ref ref="consoleJSONCustom"/>-->
<appender-ref ref="AsyncLogFile"/>
<!-- <appender-ref ref="RollingLogFileJson"/>-->
<!-- <appender-ref ref="RollingLogFileJsonCustom"/>-->
</Root>
</Loggers>
</Configuration>