From 1b476eb9f91778f60d95af99be324471382e41fd Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Wed, 16 Aug 2023 20:27:24 +0100 Subject: [PATCH] chore(wayland): downgrade some logs from debug to trace --- src/clients/wayland/wlr_data_control/mod.rs | 2 +- src/clients/wayland/wlr_data_control/offer.rs | 4 ++-- src/clients/wayland/wlr_foreign_toplevel/mod.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/clients/wayland/wlr_data_control/mod.rs b/src/clients/wayland/wlr_data_control/mod.rs index cc253602..b1dc307c 100644 --- a/src/clients/wayland/wlr_data_control/mod.rs +++ b/src/clients/wayland/wlr_data_control/mod.rs @@ -239,7 +239,7 @@ impl DataControlOfferHandler for Environment { _offer: &mut DataControlDeviceOffer, _mime_type: String, ) { - debug!("Handler received offer"); + trace!("Handler received offer"); } } diff --git a/src/clients/wayland/wlr_data_control/offer.rs b/src/clients/wayland/wlr_data_control/offer.rs index 6c721ae8..7859042c 100644 --- a/src/clients/wayland/wlr_data_control/offer.rs +++ b/src/clients/wayland/wlr_data_control/offer.rs @@ -7,7 +7,7 @@ use smithay_client_toolkit::data_device_manager::ReadPipe; use std::ops::DerefMut; use std::os::fd::FromRawFd; use std::sync::{Arc, Mutex}; -use tracing::{debug, warn}; +use tracing::{trace, warn}; use wayland_client::{Connection, Dispatch, Proxy, QueueHandle}; use wayland_protocols_wlr::data_control::v1::client::zwlr_data_control_offer_v1::{ Event, ZwlrDataControlOfferV1, @@ -149,7 +149,7 @@ where let data = data.data_control_offer_data(); if let Event::Offer { mime_type } = event { - debug!("Adding new offer with type '{mime_type}'"); + trace!("Adding new offer with type '{mime_type}'"); data.push_mime_type(mime_type.clone()); state.offer(conn, qh, &mut lock!(data.inner).offer, mime_type); } diff --git a/src/clients/wayland/wlr_foreign_toplevel/mod.rs b/src/clients/wayland/wlr_foreign_toplevel/mod.rs index 14cbac9a..f87dd76b 100644 --- a/src/clients/wayland/wlr_foreign_toplevel/mod.rs +++ b/src/clients/wayland/wlr_foreign_toplevel/mod.rs @@ -30,7 +30,7 @@ impl ToplevelManagerHandler for Environment { impl ToplevelHandleHandler for Environment { fn new_handle(&mut self, _conn: &Connection, _qh: &QueueHandle, handle: ToplevelHandle) { - debug!("Handler received new handle"); + trace!("Handler received new handle"); match handle.info() { Some(info) => { @@ -50,7 +50,7 @@ impl ToplevelHandleHandler for Environment { _qh: &QueueHandle, handle: ToplevelHandle, ) { - debug!("Handler received handle update"); + trace!("Handler received handle update"); match handle.info() { Some(info) => {