Repository navigation
Conversation
IDA's output window already timestamps every line, so loguru's own timestamp and module path just doubled the noise. Use a compact "[RevEng.AI] message" format at INFO, add the level for warnings and errors, and keep module:function:line for DEBUG only. configure_logging() now runs before the other plugin imports, so import-time debug lines (e.g. the Qt version) respect the log level instead of going through loguru's default DEBUG handler. The [REAI] ida_kernwin.msg diagnostics in the entry point are now debug logs, the "authenticated" and "hook registered" messages drop to debug, and the redundant "RevEng.AI: " prefix is gone from log messages.
The manifest still pinned revengai==4.75.0 while pyproject.toml and uv.lock require 4.77.1, so the manifest dependency check in the test suite failed. Regenerated with scripts/emit_plugin_deps.py.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Loading the plugin spams IDA's output window. Every line gets two timestamps (IDA's and loguru's) plus a full module path, and a few
[REAI]debug messages print no matter what the log level is.This trims it down:
[RevEng.AI] message. Warnings and errors add the level. Module and line number only show at DEBUG.configure_logging()now runs before the other plugin imports. Before, import-time debug lines (like the Qt version one) went through loguru's default DEBUG handler and showed up anyway.[REAI]ida_kernwin.msglines in the entry point are plain debug logs now.RevEng.AI:prefix from log messages since the format adds it already.REAI_DEBUG=1orREAI_LOG_LEVEL=DEBUGstill brings everything back.I checked the output format with loguru directly but haven't run the test suite (needs idalib) or tried it inside IDA.