From 6647837eb90eacd558fb56a9aba718b70e4f7f97 Mon Sep 17 00:00:00 2001 From: Timothy Laurent Date: Thu, 12 Feb 2026 00:08:46 -0800 Subject: [PATCH] Fix RLMLogger import path in rlm_adapter.py `from rlm import RLMLogger` fails silently because RLMLogger is not exported from the top-level rlm package. The correct import is `from rlm.logger import RLMLogger`. This caused --log-dir and output.log_dir config to have no effect, since _maybe_logger() swallows the ImportError. Fixes #2 Co-Authored-By: Claude Opus 4.6 --- src/rlm_cli/rlm_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlm_cli/rlm_adapter.py b/src/rlm_cli/rlm_adapter.py index 5aee54f..e8f2d84 100644 --- a/src/rlm_cli/rlm_adapter.py +++ b/src/rlm_cli/rlm_adapter.py @@ -220,7 +220,7 @@ def _maybe_logger(log_dir: str | None) -> object | None: if not log_dir: return None try: - from rlm import RLMLogger + from rlm.logger import RLMLogger except Exception: return None try: