Skip to content

Fix RLMLogger import path — logging silently broken#3

Open
timothyjlaurent wants to merge 1 commit intorawwerks:masterfrom
timothyjlaurent:fix/rlm-logger-import
Open

Fix RLMLogger import path — logging silently broken#3
timothyjlaurent wants to merge 1 commit intorawwerks:masterfrom
timothyjlaurent:fix/rlm-logger-import

Conversation

@timothyjlaurent
Copy link

Summary

  • Fix incorrect import from rlm import RLMLoggerfrom rlm.logger import RLMLogger in rlm_adapter.py
  • RLMLogger is not exported from the top-level rlm package, so the import silently fails inside _maybe_logger()'s bare except Exception
  • This means --log-dir and output.log_dir config have no effect — no log files are ever created

Test plan

  • Verified from rlm.logger import RLMLogger works
  • Confirmed .jsonl log files are now created in the configured log_dir
  • Confirmed logs can be loaded in the visualizer

Fixes #2

🤖 Generated with Claude Code

`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 rawwerks#2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging silently broken: RLMLogger import fails in rlm_adapter.py

1 participant