From 5b3bfd95d9fb97a5e2e5e8332881c6eed13fbaa6 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 20 Feb 2024 14:04:18 +0400 Subject: Upgrade logs about removing env vars to warn! These are more visible now with the --session flag. --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index a19abfa2..6b7994d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,11 +62,11 @@ fn main() -> Result<(), Box> { // DISPLAY or WAYLAND_DISPLAY from our environment if they are set, since they will cause // the winit backend to be selected instead. if env::var_os("DISPLAY").is_some() { - debug!("running as a session but DISPLAY is set, removing it"); + warn!("running as a session but DISPLAY is set, removing it"); env::remove_var("DISPLAY"); } if env::var_os("WAYLAND_DISPLAY").is_some() { - debug!("running as a session but WAYLAND_DISPLAY is set, removing it"); + warn!("running as a session but WAYLAND_DISPLAY is set, removing it"); env::remove_var("WAYLAND_DISPLAY"); } -- cgit