providers: capture logs with debug-level logging
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix changing captured log emission from trace to debug level, resolving a bug where logs were omitted in quiet and brief modes. Aligns with an identical snapcraft fix and closes issue #140. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3950 providers: capture logs with debug-level logging | snapcraft | merged | Merged fix for captured logs not saving to the log file. Changed log level from trace to debug to ensure proper capture. Approved and passed CI. | |
| #2943 spread: capture developer debug information | snapcraft | merged | Merged changes setting SNAPCRAFT_ENABLE_DEVELOPER_DEBUG=yes in the spread environment to capture debug logs on failure. Approved by one reviewer, passed CI, and updated four files with twelve added lines. |