Skip to content

Commit a5fc2f0

Browse files
committed
BluezAgent: Make the log more useful
Before it would show "register_agent: Register Agent" which is kinda useless as it just repeats the method name. Also "promote" this to debug as this is mostly useful for debugging.
1 parent 6fecae1 commit a5fc2f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

blueman/main/applet/BluezAgent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ def __init__(self) -> None:
5252
self._service_notifications: list[_NotificationBubble | _NotificationDialog] = []
5353

5454
def register_agent(self) -> None:
55-
logging.info("Register Agent")
55+
logging.debug(self.__agent_path)
5656
self.register()
5757
AgentManager().register_agent(self.__agent_path, "KeyboardDisplay")
5858

5959
def unregister_agent(self) -> None:
60-
logging.info("Unregister Agent")
60+
logging.debug(self.__agent_path)
6161
self.unregister()
6262
AgentManager().unregister_agent(self.__agent_path)
6363

0 commit comments

Comments
 (0)