commit 86343c50c65d8182a21caa39b34fb23655d25ea9
parent fb52692c95b89d3dae36a127b419c9041480ba41
Author: andrewlaack-collab <andrew.laack@imbue.com>
Date: Thu, 5 Feb 2026 22:07:26 +0000
Update log levels (#19)
* Black, opencode export improvements, and better messaging
* Black
* Moved black
* Show actual messages
Diffstat:
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/vet/api.py b/vet/api.py
@@ -88,7 +88,7 @@ def get_issues_with_raw_responses(
)
if conversation_history:
- logger.debug(
+ logger.info(
"Passing {} conversation history messages to identifier inputs",
len(conversation_history),
)
diff --git a/vet/cli/main.py b/vet/cli/main.py
@@ -301,16 +301,16 @@ def configure_logging(verbose: bool, quiet: bool) -> None:
def load_conversation_from_command(command: str, cwd: Path) -> tuple:
- logger.debug("Running history loader command: {}", command)
+ logger.info("Running history loader command: {}", command)
result = subprocess.run(command, shell=True, capture_output=True, text=True, cwd=cwd)
if result.returncode != 0:
logger.warning(f"History loader command failed with exit code {result.returncode}: {result.stderr}")
return ()
if not result.stdout.strip():
- logger.debug("History loader command returned empty output, no conversation history loaded")
+ logger.info("History loader command returned empty output, no conversation history loaded")
return ()
messages = parse_conversation_history(result.stdout)
- logger.debug(
+ logger.info(
"Loaded {} conversation history messages from history loader command",
len(messages),
)
@@ -422,8 +422,7 @@ def main(argv: list[str] | None = None) -> int:
if args.history_loader is not None:
conversation_history = load_conversation_from_command(args.history_loader, repo_path)
else:
- logger.debug("No history loader provided, skipping conversation history loading")
-
+ logger.info("No history loader provided, skipping conversation history loading")
extra_context = None
if args.extra_context:
extra_context_parts = []