Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--version output is noisy #46

Open
yorickdowne opened this issue Oct 2, 2024 · 0 comments
Open

--version output is noisy #46

yorickdowne opened this issue Oct 2, 2024 · 0 comments

Comments

@yorickdowne
Copy link

yorickdowne commented Oct 2, 2024

This is merely cosmetic. --version outputs "a bunch" of unrelated lines, then the actual version information is repeated several times. Example:

2024-10-02 15:44:19.029+00:00 | main | INFO  | LibCompress | Loaded compress_jni native library from /opt/besu/.cache/JNA/temp/jna11608382804838938703.tmp with compressor_dict /tmp/tempCompressor_dict6513974961248019510bin
2024-10-02 15:44:19.037+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.plugins.continoustracing.ContinuousTracingPlugin.
2024-10-02 15:44:19.039+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.plugins.readiness.TracerReadinessPlugin.
2024-10-02 15:44:19.040+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.plugins.rpc.capture.CaptureEndpointServicePlugin
2024-10-02 15:44:19.041+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.plugins.rpc.capture.CaptureEndpointServicePlugin.
2024-10-02 15:44:19.043+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.plugins.rpc.linecounts.LineCountsEndpointServicePlugin.
2024-10-02 15:44:19.043+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.plugins.rpc.tracegeneration.TracesEndpointServicePlugin.
2024-10-02 15:44:19.046+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.consensus.L1FinalizationTagUpdaterPlugin.
2024-10-02 15:44:19.047+00:00 | main | ERROR | BesuPluginContextImpl | Error registering plugin of type net.consensys.linea.continoustracing.ContinuousTracingPlugin, start and stop will not be called.
picocli.CommandLine$DuplicateOptionAnnotationsException: Option name '--plugin-linea-continuous-tracing-enabled' is used by both field boolean net.consensys.linea.continoustracing.ContinuousTracingCliOptions.continuousTracingEnabled and field boolean net.consensys.linea.plugins.continoustracing.ContinuousTracingCliOptions.continuousTracingEnabled
	at picocli.CommandLine$DuplicateOptionAnnotationsException.create(CommandLine.java:18698)
	at picocli.CommandLine$DuplicateOptionAnnotationsException.access$2900(CommandLine.java:18692)
	at picocli.CommandLine$Model$CommandSpec.addOption(CommandLine.java:6786)
	at picocli.CommandLine$Model$CommandSpec.addMixin(CommandLine.java:7036)
	at org.hyperledger.besu.services.PicoCLIOptionsImpl.addPicoCLIOptions(PicoCLIOptionsImpl.java:60)
	at net.consensys.linea.continoustracing.ContinuousTracingPlugin.register(ContinuousTracingPlugin.java:56)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugin(BesuPluginContextImpl.java:194)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugins(BesuPluginContextImpl.java:186)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugins(BesuPluginContextImpl.java:140)
	at org.hyperledger.besu.cli.BesuCommand.lambda$createPluginRegistrationTask$2(BesuCommand.java:1049)
	at picocli.CommandLine.execute(CommandLine.java:2174)
	at org.hyperledger.besu.cli.util.ConfigDefaultValueProviderStrategy.execute(ConfigDefaultValueProviderStrategy.java:58)
	at picocli.CommandLine.execute(CommandLine.java:2174)
	at org.hyperledger.besu.cli.BesuCommand.executeCommandLine(BesuCommand.java:1078)
	at org.hyperledger.besu.cli.BesuCommand.parse(BesuCommand.java:1020)
	at org.hyperledger.besu.Besu.main(Besu.java:41)
2024-10-02 15:44:19.051+00:00 | main | ERROR | BesuPluginContextImpl | Error registering plugin of type net.consensys.linea.extradata.LineaExtraDataPlugin, start and stop will not be called.
picocli.CommandLine$DuplicateOptionAnnotationsException: Option name '--plugin-linea-l1l2-bridge-contract' is used by both field org.hyperledger.besu.datatypes.Address net.consensys.linea.config.LineaL1L2BridgeSharedCliOptions.l1l2BridgeContract and field org.hyperledger.besu.datatypes.Address net.consensys.linea.plugins.config.LineaL1L2BridgeSharedCliOptions.l1l2BridgeContract
	at picocli.CommandLine$DuplicateOptionAnnotationsException.create(CommandLine.java:18698)
	at picocli.CommandLine$DuplicateOptionAnnotationsException.access$2900(CommandLine.java:18692)
	at picocli.CommandLine$Model$CommandSpec.addOption(CommandLine.java:6786)
	at picocli.CommandLine$Model$CommandSpec.addMixin(CommandLine.java:7036)
	at org.hyperledger.besu.services.PicoCLIOptionsImpl.addPicoCLIOptions(PicoCLIOptionsImpl.java:60)
	at net.consensys.linea.AbstractLineaOptionsPlugin.lambda$register$1(AbstractLineaOptionsPlugin.java:58)
	at java.base/java.util.HashMap.forEach(HashMap.java:1429)
	at net.consensys.linea.AbstractLineaOptionsPlugin.register(AbstractLineaOptionsPlugin.java:54)
	at net.consensys.linea.AbstractLineaRequiredPlugin.register(AbstractLineaRequiredPlugin.java:35)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugin(BesuPluginContextImpl.java:194)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugins(BesuPluginContextImpl.java:186)
	at org.hyperledger.besu.services.BesuPluginContextImpl.registerPlugins(BesuPluginContextImpl.java:140)
	at org.hyperledger.besu.cli.BesuCommand.lambda$createPluginRegistrationTask$2(BesuCommand.java:1049)
	at picocli.CommandLine.execute(CommandLine.java:2174)
	at org.hyperledger.besu.cli.util.ConfigDefaultValueProviderStrategy.execute(ConfigDefaultValueProviderStrategy.java:58)
	at picocli.CommandLine.execute(CommandLine.java:2174)
	at org.hyperledger.besu.cli.BesuCommand.executeCommandLine(BesuCommand.java:1078)
	at org.hyperledger.besu.cli.BesuCommand.parse(BesuCommand.java:1020)
	at org.hyperledger.besu.Besu.main(Besu.java:41)
2024-10-02 15:44:19.054+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.rpc.capture.CaptureEndpointServicePlugin
2024-10-02 15:44:19.055+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.rpc.capture.CaptureEndpointServicePlugin.
2024-10-02 15:44:19.055+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.rpc.counters.CountersEndpointServicePlugin.
2024-10-02 15:44:19.055+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.rpc.services.LineaEstimateGasEndpointPlugin
2024-10-02 15:44:19.058+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.rpc.services.LineaEstimateGasEndpointPlugin.
2024-10-02 15:44:19.058+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.rpc.services.LineaSetExtraDataEndpointPlugin
2024-10-02 15:44:19.059+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.rpc.services.LineaSetExtraDataEndpointPlugin.
2024-10-02 15:44:19.059+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.rpc.tracegeneration.TracesEndpointServicePlugin.
2024-10-02 15:44:19.059+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.sequencer.txpoolvalidation.LineaTransactionPoolValidatorPlugin
2024-10-02 15:44:19.060+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.sequencer.txpoolvalidation.LineaTransactionPoolValidatorPlugin.
2024-10-02 15:44:19.060+00:00 | main | INFO  | AbstractLineaRequiredPlugin | Registering Linea plugin net.consensys.linea.sequencer.txselection.LineaTransactionSelectorPlugin
2024-10-02 15:44:19.060+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.linea.sequencer.txselection.LineaTransactionSelectorPlugin.
2024-10-02 15:44:19.061+00:00 | main | INFO  | BesuShomeiRpcPlugin | Registering RPC plugin endpoint shomei_getTrieLogsByRange
2024-10-02 15:44:19.061+00:00 | main | INFO  | BesuShomeiRpcPlugin | Registering RPC plugin endpoint shomei_getTrieLog
2024-10-02 15:44:19.062+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.shomei.rpc.BesuShomeiRpcPlugin.
2024-10-02 15:44:19.062+00:00 | main | INFO  | ZkTrieLogPlugin | Registering ZkTrieLog plugin
2024-10-02 15:44:19.062+00:00 | main | INFO  | BesuPluginContextImpl | Registered plugin of type net.consensys.shomei.trielog.ZkTrieLogPlugin.
besu/v24.9-delivery32/linux-x86_64/openjdk-java-21
linea-tracer/v0.6.0-rc8
linea-tracer/v0.6.0-rc8
linea-tracer/v0.6.0-rc8
linea-tracer/v0.6.0-rc8
linea-tracer/v0.6.0-rc8
finalized-tag-updater/v0.0.2
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-sequencer-plugins/v0.1.4-test34
besu-shomei-plugin/v0.3.1
besu-shomei-plugin/v0.3.1

Ideally, --version would just output something like this:

besu/v24.9-delivery32/linux-x86_64/openjdk-java-21
linea-tracer/v0.6.0-rc8
finalized-tag-updater/v0.0.2
besu-sequencer-plugins/v0.1.4-test34
besu-shomei-plugin/v0.3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant