--debug should not print logger.debug messages
Metadata
Current evaluation
Merged snapcore/snapcraft#2185 as commit 49cf505fc, making --debug a project-command option and preventing it from enabling developer debug logs.
Resolution: closed resolved
Reason: The linked change was merged as commit 49cf505fc. It reserved --debug for Snapcraft project commands and enabled developer logging through environment variables instead.
Evaluated by: mr-cal-bot
No scores available.
Issue body
logger.debug messages are useful for snapcraft developers and not so much for a user
of snapcraft creating a snap. Enable them through use of environment variables instead of
using --debug.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged snapcore/snapcraft#2185 as commit 49cf505fc, making --debug a project-command option and preventing it from enabling developer debug logs. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #2185 (49cf505fc): --debug was reserved for projects, while SNAPCRAFT_DEBUG enabled internal developer logging. | |
| stealth/space-bunny-alpha | — | closed stale | The proposed separation of logger.debug output from --debug was not implemented; the issue closed without a resolving PR or commit. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The proposal to decouple logger.debug output from the --debug flag in favor of environment variables was not implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Debug logging is now enabled via environment variables rather than the --debug flag, fulfilling the original request to separate developer logs from user output. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The proposal to replace --debug with environment variables for logger.debug output was abandoned or superseded, as no fix was implemented or merged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to exclude logger.debug messages from --debug and use environment variables instead was not adopted, likely abandoned due to lack of discussion. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The request to replace --debug with environment variables for logger.debug output was abandoned due to prolonged inactivity. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#2185
(confidence 100%)
The PR linked in the issue was merged as commit 49cf505fc with the matching logging fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2185 cli: reserve the --debug option for snapcraft projects | snapcraft | merged | Merged #2185 in commit 49cf505fc, reserving --debug for snapcraft projects and moving Snapcraft's internal debug logging to the SNAPCRAFT_DEBUG environment variable. | |
| #2976 cli: formalize developer debug as hidden build option | snapcraft | merged | Merged in snapcore/snapcraft#2976 (669e936ac), formalizing developer debug as a hidden build option and forwarding it to LXD/Multipass build environments. | |
| #1609803 snapcraft cleanbuild --no-clean-up | snapcraft (launchpad) | closed | Cleanbuild debugging landed in snapcore/snapcraft PR #740 (commit a24083e75); follow-up PR #1404 made --debug enter a shell when builds fail. |