Improve server logging
Former-commit-id: 789bb078e47024ba3f996e304a44e603d8c24d2d [formerly 6800408dd9e2b91f1968e16104bbf72a2422f7c8] [formerly cb4ae5b7c76f5652f330c30a1a109237aa75dc02 [formerly c3bef74ec26bc6499eb241b542317ff3062cceec]] Former-commit-id: 1c4ba622fd7e27d40000b894c413ba1408384c91 [formerly 321bfa4b214aa0cfc91b4047b713a83a6d6ee0e9] Former-commit-id: bb175114c235de972faebfa7339ff8e5cb218c68 Former-commit-id: 580f89caaac8274d3bad43a1a10dea08c385a62b Former-commit-id: 8f655bf060bd1830666157c065bf5c18612c0467 Former-commit-id: dcef054f2d09c98cbc98c3be5f1bcc89d4dd0a52 [formerly a063f023d4ecc9993082d57369b5eff14a992235] Former-commit-id: c8811304e7320bbe2711c7bfadc4f5687ab6d3fc
This commit is contained in:
parent
152b580f1c
commit
68057a2dde
1 changed files with 2 additions and 2 deletions
|
@ -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};
|
||||
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue