fix(weixin): silence polling request logs
Signed-off-by: Lanre Shittu <136805224+Shizoqua@users.noreply.github.com>
This commit is contained in:
1 parent
d9aa7cdda4
commit
db6ef4d674
2 files changed
+19
-1
No files matched your search
@@ -37,6 +37,7 @@ from nanobot.bus.queue import MessageBus
|
||||
from nanobot.channels.base import BaseChannel
|
||||
from nanobot.config.paths import get_media_dir, get_runtime_subdir
|
||||
from nanobot.config.schema import Base
|
||||
from nanobot.utils.logging_bridge import redirect_lib_logging
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Protocol constants (from openclaw-weixin types.ts)
|
||||
@@ -996,6 +997,7 @@ class WeixinChannel(BaseChannel):
|
||||
self._client = None
|
||||
|
||||
async def start(self) -> None:
|
||||
redirect_lib_logging("httpx", level="WARNING")
|
||||
self._running = True
|
||||
self._next_poll_timeout_s = self.config.poll_timeout
|
||||
self._client = self._new_http_client(
|
||||
|
||||
Reference in new issue
Block a user