dbus2 / zbus-old

Rust D-Bus crate.
https://gitlab.freedesktop.org/dbus/zbus
Other
49 stars 13 forks source link

Lower or drop the spamming-debug for cached properties #300

Open zeenix opened 1 year ago

zeenix commented 1 year ago

In GitLab by @elmarco on Nov 15, 2022, 13:33

My RUST_LOG=debug is flooded with worrying messages like: 2022-11-15T12:30:17.022824Z DEBUG zbus::abstractions::async_channel: Error receiving: receiving from an empty and closed channel

It should be silent for cached properties, or reduced to a much lower level (even trace would be too loud imho - and since it's not an error, it should not say so)

zeenix commented 1 year ago

even trace would be too loud imho - and since it's not an error, it should not say so)

trace is supposed to be super verbose IMO but sure, maybe we should both.

It should be silent for cached properties

Right but the channel doesn't know about its user/caller and IMO it should stay that way. Maybe add a boolean setting on it?