Skip to content

Commit

Permalink
Improve server logging
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Oct 21, 2023
1 parent 74e9ade commit c3bef74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use tokio::io::{AsyncRead, AsyncWrite};
use tokio_rustls::rustls::server::DnsName;
use tokio_rustls::rustls::{Certificate, PrivateKey, ServerName};

use tracing::{debug, error, span, Instrument, Level};
use tracing::{error, info, span, Instrument, Level};

use tracing_subscriber::EnvFilter;
use url::{Host, Url};
Expand Down Expand Up @@ -645,7 +645,7 @@ async fn main() {
tls: tls_config,
};

debug!("{:?}", server_config);
info!("{:?}", server_config);
transport::run_server(Arc::new(server_config))
.await
.unwrap_or_else(|err| {
Expand Down

0 comments on commit c3bef74

Please sign in to comment.