Skip to content

Commit

Permalink
Make the debug logs slightly less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jaseemabid committed Sep 17, 2023
1 parent b53cf9f commit 4cf0843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ fn process(e: &mut Event, state: &mut State) -> Result<(), Box<dyn Error>> {
// now for future events with no attributes.
if let Some(attr) = &e.attr {
if e.type_ == "event" && e.event == "changed" {
debug!("Updating attrs for {}: {:?}", e.id, e.attr);
debug!("Updating attrs for {}: {:?}", e.id, attr);
state.sensors.insert(e.id.to_string(), attr.clone());

LASTSEEN
Expand Down

0 comments on commit 4cf0843

Please sign in to comment.