consento-org / consento-org/dat-ssg

Automatically compress the log files

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.