← Back to issue list

providers: capture logs with debug-level logging

View original Github issue

Metadata

Project
rockcraft
Number
#141
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged #141 (commit 7a008a32), moving captured provider logs from trace to debug so they are saved in quiet and brief modes.

Resolution: closed resolved

Reason: PR #141 was approved and merged as commit 7a008a32. It fixes #140 by emitting captured logs at debug level, allowing the main log file to retain them.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Captured logs were not being saved to the log file in quiet and brief modes because they were emitted as trace-level messages instead of debug-level. This is an identical fix from snapcraft: https://github.com/snapcore/snapcraft/pull/3950 Resolves https://github.com/canonical/rockcraft/issues/140

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #141 (commit 7a008a32), moving captured provider logs from trace to debug so they are saved in quiet and brief modes.
stealth/space-bunny-alpha — closed resolved Merged in canonical/rockcraft#141 at commit 7a008a32, changing captured provider output from trace to debug so quiet and brief modes save it to the log file.
stealth/space-bunny-alpha — closed resolved Merged in canonical/rockcraft#141 (7a008a32): provider output now logs at debug level, so captured logs are saved in quiet and brief modes. Resolves #140.
qwen/qwen3.6-35b-a3b — — Merged a fix changing captured log emission from trace to debug level, resolving a bug where logs were omitted in quiet and brief modes. Approved by two reviewers, passed CI, and aligns with a snapcraft fix. Resolves #140.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix changing log emission from trace to debug level, ensuring captured logs are saved in quiet and brief modes. Resolves issue #140.

Update history

No update history recorded yet.

Related work

  • Related To: snapcore/snapcraft#3950 (confidence 99%)

    The merged change is described as identical to the upstream Snapcraft fix.

Related issues

Issue Project State Summary Similarity
#3950 providers: capture logs with debug-level logging snapcraft merged Merged PR #3950 (848d7c830), restoring provider logs to debug level so capture_logs_from_instance() saves them to the log file instead of emitting them at trace level.
86%