diff --git a/lite/main.py b/lite/main.py index e6478b3..433ffcb 100644 --- a/lite/main.py +++ b/lite/main.py @@ -1145,7 +1145,7 @@ def _tls_start(remote_host, remote_port=443, use_tls=True, bypass_lan=False, sma if not quiet: route = "→".join(str(node.get("country") or "?") for node in (jump_chain or [])) suffix = f" [{route}]" if route else "" - log(f"本地转发器已启动 ({proto} 127.0.0.1:{_TLS_LOCAL_PORT} -> {remote_host}:{remote_port}{suffix})") + log_detail(f"本地转发器已启动 ({proto} 127.0.0.1:{_TLS_LOCAL_PORT} -> {remote_host}:{remote_port}{suffix})") def _inject_proxy_auth(data: bytes, proxy_node=None) -> bytes: """在 HTTP 代理请求头中注入 Authorization(如果尚未存在)。 diff --git a/lite/rrpp_core/tun_backend.py b/lite/rrpp_core/tun_backend.py index cc2791b..41b461e 100644 --- a/lite/rrpp_core/tun_backend.py +++ b/lite/rrpp_core/tun_backend.py @@ -727,7 +727,7 @@ class TunBackend: # 因此 Windows 不需要 --interface;Linux/macOS 仍保留原行为。 if interface and os.name != "nt": command.extend(["--interface", interface]) - self.log(f"本地 SOCKS5 桥接: 127.0.0.1:{socks_port}") + self.detail_log(f"本地 SOCKS5 桥接: 127.0.0.1:{socks_port}") try: self._process = subprocess.Popen( command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,