From 224ddb9db663808a64709b0b86e3ee9e61432cd3 Mon Sep 17 00:00:00 2001 From: Imbris Date: Sun, 13 Dec 2020 14:17:34 -0500 Subject: [PATCH] Suppress wgpu_core::device info logging --- .cargo/config | 4 ++-- common/frontend/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.cargo/config b/.cargo/config index c46e78f8c9..00404d6a35 100644 --- a/.cargo/config +++ b/.cargo/config @@ -9,7 +9,7 @@ csv-import = "run --manifest-path common/Cargo.toml --features=bin_csv --bin csv test-server = "run --bin veloren-server-cli --no-default-features -- -b" tracy-server = "-Zunstable-options run --bin veloren-server-cli --no-default-features --features tracy,simd --profile no_overflow" tracy-world-server = "-Zunstable-options run --bin veloren-server-cli --features tracy,simd --profile no_overflow -- -b" -test-voxygen = "run --bin veloren-voxygen --no-default-features --features gl,simd" -tracy-voxygen = "-Zunstable-options run --bin veloren-voxygen --no-default-features --features tracy,gl,simd --profile no_overflow" +test-voxygen = "run --bin veloren-voxygen --no-default-features --features simd" +tracy-voxygen = "-Zunstable-options run --bin veloren-voxygen --no-default-features --features tracy,simd --profile no_overflow" server = "run --bin veloren-server-cli" dbg-voxygen = "run --bin veloren-voxygen -Zunstable-options --profile debuginfo" diff --git a/common/frontend/src/lib.rs b/common/frontend/src/lib.rs index 522c34a118..b86e2599b8 100644 --- a/common/frontend/src/lib.rs +++ b/common/frontend/src/lib.rs @@ -47,7 +47,6 @@ where // this crate would be veloren_voxygen=debug. let base_exceptions = |env: EnvFilter| { env.add_directive("dot_vox::parser=warn".parse().unwrap()) - .add_directive("gfx_device_gl=warn".parse().unwrap()) .add_directive("veloren_common::trade=info".parse().unwrap()) .add_directive("veloren_world::sim=info".parse().unwrap()) .add_directive("veloren_world::civ=info".parse().unwrap()) @@ -58,6 +57,7 @@ where .add_directive("h2=info".parse().unwrap()) .add_directive("tokio_util=info".parse().unwrap()) .add_directive("rustls=info".parse().unwrap()) + .add_directive("wgpu_core::device=warn".parse().unwrap()) .add_directive("veloren_network_protocol=info".parse().unwrap()) .add_directive( "veloren_server::persistence::character=info"