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

Print configuration overview at startup #6539

Closed
benjaminion opened this issue Dec 2, 2022 · 1 comment
Closed

Print configuration overview at startup #6539

benjaminion opened this issue Dec 2, 2022 · 1 comment
Assignees

Comments

@benjaminion
Copy link
Contributor

Besu recently implemented dumping the configuration to the console / logon startup. I like this! We should consider something similar fer Teku.

####################################################################################################
#                                                                                                  #
# Besu 22.10.1                                                                                     #
#                                                                                                  #
# Configuration:                                                                                   #
# Network: Mainnet                                                                                 #
# Data storage: Bonsai                                                                             #
# Sync mode: Checkpoint                                                                            #
# RPC HTTP APIs: ETH,NET,WEB3,DEBUG,ADMIN                                                          #
# RPC HTTP port: 8545                                                                              #
# Engine APIs: ENGINE,ETH                                                                          #
# Engine port: 8551                                                                                #
#                                                                                                  #
# Host:                                                                                            #
# Java: openjdk-java-17                                                                            #
# Maximum heap size: 5.00 GB                                                                       #
# OS: linux-x86_64                                                                                 #
# glibc: 2.35                                                                                      #
# Total memory: 15.50 GB                                                                           #
# CPU cores: 6                                                                                     #
#                                                                                                  #
####################################################################################################
@benjaminion
Copy link
Contributor Author

benjaminion commented Dec 5, 2022

From stand-up discussion: I'm not wedded to a format. That Besu one is pleasant to me, but I don't use logz.io so have no idea what would work there. The important things are to (safely) enumerate any user-supplied (non-default) options and to summarise the running environment in some format.

Some of the Besu output is just the default settings - that's not required imo.

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

3 participants