Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

harvester logs take too much space #2924

Closed
pvgenuchten opened this issue Jul 3, 2018 · 1 comment
Closed

harvester logs take too much space #2924

pvgenuchten opened this issue Jul 3, 2018 · 1 comment
Labels
enhancement stale stale issue flagged for closure.

Comments

@pvgenuchten
Copy link

pvgenuchten commented Jul 3, 2018

as an admin i want to clean harvester logs after a couple of weeks, because they take up a lot of space.
i can set a cron job to remove files older then a couple of weeks, however the harvest history in the database will still point to these files

maybe it is better to add a task to gn that cleans the files and the database after a configurable interval

alternatively, store the log files as part of the database harvest history record
or in harvester history method add a check if the file exists, before returning a reference to it

@archaeogeek
Copy link
Contributor

Could we add configuration settings to define a location for the harvest logs (eg in the data directory, which is often on a different disk) and then a time period for which they could be kept. The harvest history could then be configured to only show the log files for that time period too.

@ticheler ticheler added the stale stale issue flagged for closure. label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement stale stale issue flagged for closure.
Projects
None yet
Development

No branches or pull requests

4 participants