-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log ZkTracer counters for every produced block
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
- Loading branch information
Showing
2 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration status="INFO"> | ||
<Properties> | ||
<Property name="root.log.level">INFO</Property> | ||
</Properties> | ||
|
||
<Appenders> | ||
<Console name="Console"> | ||
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSSZZZ} | %t | %-5level | %c{1} | %msg%n" /> | ||
</Console> | ||
<Routing name="Router"> | ||
<Routes pattern="$${event:Marker}"> | ||
<Route key="BLOCK_LINE_COUNT"> | ||
<Console name="ConsoleBLC" target="SYSTEM_OUT"> | ||
<PatternLayout pattern='{"blockNumber":%X{blockNumber},"blockHash":"%X{blockHash}","traceCounts":{%X{traceCounts}}}%n'/> | ||
</Console> | ||
</Route> | ||
<Route ref="Console" /> | ||
</Routes> | ||
</Routing> | ||
</Appenders> | ||
<Loggers> | ||
<Logger name="net.consensys.linea.sequencer.txselection.selectors.TraceLineLimitTransactionSelector" level="TRACE"> | ||
<AppenderRef ref="Router" /> | ||
</Logger> | ||
<Root level="${sys:root.log.level}"> | ||
<AppenderRef ref="Console" /> | ||
</Root> | ||
</Loggers> | ||
</Configuration> |