← Back to issue list

feat: allow logging to a file

View original Github issue

Metadata

Project
fetch-service
Number
#294
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Merged to add a configurable file logging option for the fetch-service, bypassing standard output capture limitations. Resolves #288. Approved by two reviewers, modifying three files with a net addition of 58 lines.

Suggested action:

No scores available.

Issue body

Some environments can't easily capture the fetch-service's standard output, so add an option to log to a filepath provided by the caller. Fixes #288 - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to add a configurable file logging option for the fetch-service, bypassing standard output capture limitations. Resolves #288. Approved by two reviewers, modifying three files with a net addition of 58 lines.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#72 feat: service logging to a file fetch-service merged Merged implementation for service file logging. Configured to output logs to /var/snap/fetch-service/current to satisfy confined snap restrictions. Approved by two reviewers and passed CI checks.
76%
#555 fix: properly log the fetch-service's output craft-application merged Merged a fix for fetch-service logging that bypasses snap file descriptor restrictions by passing the logfile path via a new CLI option instead of bash redirection. Approved by two reviewers, passed CI, and resolves issue #550.
75%
#371 feat: add session-aware logging support fetch-service merged Merged feature adding session ID prefixes to log messages for improved readability during concurrent sessions. Approved by two reviewers, resolves issue #135, and updates 54 files.
71%
#1665 feat: add fetch-libs command charmcraft merged Merged the fetch-libs command. Approved by two reviewers, the change adds 809 lines and removes 35 across 21 files. No comments or blocking issues were present prior to merge.
71%
#288 Allow logging to a specific file fetch-service closed The feature request to log fetch-service output to a file was closed without implementation. Internal tracking was created via Jira ticket CRAFT-3671, but no code changes were merged, leaving the request abandoned.
71%