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

change(log): Log loaded config path when Zebra starts up #5733

Merged
merged 4 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions zebrad/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ impl Application for ZebradApp {
// Log git metadata and platform info when zebrad starts up
if is_server {
tracing::info!("Diagnostic {}", metadata_section);
info!(config_path = ?command.config_path(), config = ?cfg_ref, "loaded zebrad config");
}

// Activate the global span, so it's visible when we load the other
Expand Down
1 change: 0 additions & 1 deletion zebrad/src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ pub struct StartCmd {
impl StartCmd {
async fn start(&self) -> Result<(), Report> {
let config = app_config().clone();
info!(?config);

info!("initializing node state");
let (_, max_checkpoint_height) = zebra_consensus::chain::init_checkpoint_list(
Expand Down