Don't show double or triple timestamps
Metadata
Current evaluation
Duplicate timestamp logging was fixed by making charm_builder.py a standalone script with plain stdout; PR #865 merged as commit 56242113, resolving the remaining double-timestamp case tracked in #750.
Resolution: closed resolved
Reason: The maintainer confirmed the triple-timestamp case was already solved and linked the remaining double-timestamp problem to #750. PR #865 subsequently merged as commit 56242113, isolating charm_builder.py and removing extra log prefixes.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Current charmcraft logs may have two or three timestamps in the same line. E.g.:
```
2022-02-03 14:46:32.037 :: 2022-02-03 17:46:32.037 :: 2022-02-03 17:46:32.036 Starting charm builder
```
This makes logs very hard to read, specially in the most inner executions (which is what we normally inspect, as errors tend to happen there).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Duplicate timestamp logging was fixed by making charm_builder.py a standalone script with plain stdout; PR #865 merged as commit 56242113, resolving the remaining double-timestamp case tracked in #750. | |
| stealth/space-bunny-alpha | — | closed resolved | Duplicate/triple log timestamps fixed by converting charm_builder.py to a standalone script with plain stdout logging; merged in PR #865 (commit 56242113) via issue #750. | |
| stealth/space-bunny-alpha | — | closed resolved | Duplicate log timestamps were fixed by isolating charm_builder.py to use plain stdout. PR #865 merged the fix linked through #750 in commit 56242113. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as superseded. Triple timestamp duplication was resolved, while double timestamp formatting issues were deferred to a new tracking issue #750. | |
| qwen/qwen3.6-35b-a3b | — | — | Triple timestamps were previously resolved. Double timestamp duplication was fixed and closed via pull request #750, which superseded this issue. Log formatting is now corrected. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed. Triple timestamp duplication was already resolved. Double timestamp issues were fixed in issue #750. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#865
(confidence 99%)
Merged fix that isolated charm_builder.py as a standalone script with plain stdout.
-
Related To:
canonical/charmcraft#750
(confidence 99%)
Follow-up issue explicitly opened to remove occasional double timestamps.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #691 fix: don't double up on timestamps in managed logs | craft-application | merged | Merged PR #691 (commit 1f120464), fixing duplicate managed-log timestamps by using craft-cli#331’s log-dumping API while retaining one outer retrieval timestamp. |