From ee6b725a1b616887caf7a1457e33c6912c9ba92b Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 3 Jul 2023 13:34:16 -0700 Subject: [PATCH] lower log level on payload and headers --- web3_proxy/src/frontend/users/payment_stripe.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web3_proxy/src/frontend/users/payment_stripe.rs b/web3_proxy/src/frontend/users/payment_stripe.rs index b365e619..ec1d57fe 100644 --- a/web3_proxy/src/frontend/users/payment_stripe.rs +++ b/web3_proxy/src/frontend/users/payment_stripe.rs @@ -17,12 +17,11 @@ use migration::sea_orm::{ self, ActiveModelTrait, ColumnTrait, EntityTrait, QueryFilter, TransactionTrait, }; use migration::{Expr, OnConflict}; -use serde::Deserialize; use serde_json::json; use std::num::NonZeroU64; use std::sync::Arc; use stripe::Webhook; -use tracing::{error, info, trace}; +use tracing::{debug, error, info, trace}; /// `GET /user/balance/stripe` -- Use a bearer token to get the user's balance and spend. /// @@ -64,7 +63,7 @@ pub async fn user_balance_stripe_post( // TODO: maybe instead, a bad stripe-header should ban the IP? or a good one should allow it? // TODO: lower log level when done testing - info!(?payload, ?headers); + debug!(%payload, ?headers); // get the signature from the header // the docs are inconsistent on the key, so we just check all of them