consento-org / consento-org/dat-ssg
Automatically compress the log files
- Dominant language
- HTML
- Stars
- 8
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
The log files of `dat-ssg` can become quite big over time. It would be good if it was regularly compressed to make sure that the hard-disk limit isn't exceeded.
**Describe the solution you'd like**
Once a log file exceeds a size specified in the config (with a preset default), the output/error file gets transformed into a .tar.gz file with the current time/date stamp in the name without interrupting the current process.
Contributor guide
Research direction
Start by locating dat-ssg's configuration handling and the code that writes its output and error log files. Check how a configured size threshold and default could be represented, then verify that exceeding it creates a timestamped .tar.gz archive without interrupting the current process.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100