lablup / lablup/backend.ai

Lower log level of noisy kernel.execute and CodeRunner.attach_output_queue logs in agent

Open Beginner friendly
#12,776 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

The agent emits too many INFO-level logs for every code execution, cluttering the log output. Lower these to DEBUG (or TRACE) level.

Affected log statements (agent/kernel.py):

- kernel.execute(k:..., run_id:..., mode:..., opts:...) at Kernel.execute()
- CodeRunner.attach_output_queue(k:..., run_id:..., is running event set:...) at CodeRunner.attach_output_queue()

These fire on every execution and are diagnostic in nature, so they belong at DEBUG level rather than INFO.

JIRA Issue: BA-6845

Contributor guide

Open the contributing guide

Research direction

Open agent/kernel.py and inspect Kernel.execute() and CodeRunner.attach_output_queue(), focusing on the two INFO-level statements named in the issue. Change those execution-time diagnostic messages to DEBUG or TRACE, then verify that they no longer appear at INFO level during code execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.