Skip to content

Commit

Permalink
chore(wayland): downgrade some logs from debug to trace
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Aug 16, 2023
1 parent 5074194 commit 1b476eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/clients/wayland/wlr_data_control/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl DataControlOfferHandler for Environment {
_offer: &mut DataControlDeviceOffer,
_mime_type: String,
) {
debug!("Handler received offer");
trace!("Handler received offer");
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/clients/wayland/wlr_data_control/offer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/clients/wayland/wlr_foreign_toplevel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl ToplevelManagerHandler for Environment {

impl ToplevelHandleHandler for Environment {
fn new_handle(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>, handle: ToplevelHandle) {
debug!("Handler received new handle");
trace!("Handler received new handle");

match handle.info() {
Some(info) => {
Expand All @@ -50,7 +50,7 @@ impl ToplevelHandleHandler for Environment {
_qh: &QueueHandle<Self>,
handle: ToplevelHandle,
) {
debug!("Handler received handle update");
trace!("Handler received handle update");

match handle.info() {
Some(info) => {
Expand Down

0 comments on commit 1b476eb

Please sign in to comment.