Skip to content

Commit

Permalink
Changed disconnect log to info mode (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan authored May 29, 2024
1 parent 13529ab commit 7a702c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use tokio::{
net::lookup_host,
select,
};
use tracing::{debug, error};
use tracing::{error, info};

use crate::{config::Config, Consumer, State, Tier};

Expand Down Expand Up @@ -94,7 +94,7 @@ impl ProxyApp {

match event {
DuplexEvent::ClientRead(0) | DuplexEvent::InstanceRead(0) => {
debug!(
info!(
consumer = ctx.consumer.to_string(),
active_connections = ctx.consumer.active_connections,
"client disconnected"
Expand Down

0 comments on commit 7a702c6

Please sign in to comment.