logging change
This commit is contained in:
@@ -37,7 +37,11 @@ async fn main() -> anyhow::Result<()> {
|
||||
// to DEBUG to see the contents of the msg buffer, sphinx packet chunking, etc.
|
||||
tracing_subscriber::registry()
|
||||
.with(fmt::layer())
|
||||
.with(EnvFilter::new("nym_sdk::tcp_proxy=warn"))
|
||||
.with(
|
||||
EnvFilter::new("info")
|
||||
.add_directive("nym_sdk::client_pool=info".parse().unwrap())
|
||||
.add_directive("nym_sdk::tcp_proxy_client=debug".parse().unwrap()),
|
||||
)
|
||||
.init();
|
||||
|
||||
let env_path = env::args().nth(2).expect("Env file not specified");
|
||||
|
||||
@@ -120,7 +120,7 @@ async fn main() -> anyhow::Result<()> {
|
||||
});
|
||||
|
||||
// Just wait for Nym clients to connect, TCP clients to bind, etc.
|
||||
// TODO change this to wait on the actual client to be ready (pool -> client ready state kickback via oneshot)
|
||||
// TODO change this to wait on the actual client to be ready (pool -> client ready state kickback)
|
||||
println!("waiting for everything to be set up..");
|
||||
tokio::time::sleep(tokio::time::Duration::from_secs(5)).await;
|
||||
println!("done. sending bytes");
|
||||
|
||||
Reference in New Issue
Block a user