tracing: Use don't log on hot paths without trace-level
This commit is contained in:
parent
9b416b5779
commit
3f462e3eb7
7 changed files with 20 additions and 20 deletions
|
|
@ -57,7 +57,7 @@ use smithay::{
|
|||
},
|
||||
xwayland::XWaylandClientData,
|
||||
};
|
||||
use tracing::{debug, error, info, warn};
|
||||
use tracing::{error, info, trace, warn};
|
||||
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
|
|
@ -200,7 +200,7 @@ pub fn init_backend(
|
|||
.with_context(|| format!("Failed to remove drm device: {}", device_id)),
|
||||
} {
|
||||
Ok(()) => {
|
||||
debug!("Successfully handled udev event.")
|
||||
trace!("Successfully handled udev event.")
|
||||
}
|
||||
Err(err) => {
|
||||
error!(?err, "Error while handling udev event.")
|
||||
|
|
@ -1133,7 +1133,7 @@ impl KmsState {
|
|||
render,
|
||||
surface,
|
||||
) {
|
||||
debug!(?err, "Early import failed.");
|
||||
trace!(?err, "Early import failed.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue