mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(logging): add flow to persistent logs fields (#3472)
This commit is contained in:
@ -58,7 +58,7 @@ where
|
||||
let request_id = request_id_fut.await?;
|
||||
let request_id = request_id.as_hyphenated().to_string();
|
||||
if let Some(upstream_request_id) = old_x_request_id {
|
||||
router_env::logger::info!(?request_id, ?upstream_request_id);
|
||||
router_env::logger::info!(?upstream_request_id);
|
||||
}
|
||||
let mut response = response_fut.await?;
|
||||
response.headers_mut().append(
|
||||
@ -146,7 +146,8 @@ where
|
||||
"golden_log_line",
|
||||
payment_id = Empty,
|
||||
merchant_id = Empty,
|
||||
connector_name = Empty
|
||||
connector_name = Empty,
|
||||
flow = "UNKNOWN"
|
||||
)
|
||||
.or_current(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user