Skip to content

Commit

Permalink
feat: add back the target field in our logs (#950)
Browse files Browse the repository at this point in the history
* add back the target
  • Loading branch information
djordon authored Nov 25, 2024
1 parent 4c95323 commit 845f6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion signer/src/emily_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl EmilyInteract for EmilyClient {
async fn set_chainstate(&self, chainstate: Chainstate) -> Result<Chainstate, Error> {
chainstate_api::set_chainstate(&self.config, chainstate)
.await
.inspect_err(|e| tracing::info!(?e, "Error for set_chainstate"))
.inspect_err(|error| tracing::info!(?error, "error for set_chainstate"))
.map_err(EmilyClientError::AddChainstateEntry)
.map_err(Error::EmilyApi)
}
Expand Down
2 changes: 1 addition & 1 deletion signer/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn setup_logging_json(directives: &str) {
let main_layer = tracing_subscriber::fmt::layer()
.json()
.flatten_event(true)
.with_target(false)
.with_target(true)
.with_current_span(false)
.with_span_list(true)
.with_line_number(true)
Expand Down

0 comments on commit 845f6dd

Please sign in to comment.