Skip to content

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented May 8, 2020

Overview

Implementing #19 to keep logs locally in the database for a number of hours or number of entries.

  • Added option to enable the removal of status logs, called clean_status_logs and also clean_status_interval as integer which will have the number of seconds to hold status logs for in the backend.
  • Added option to enable the removal of result logs, called clean_result_logs and also clean_result_interval as integer which will have the number of seconds to hold result logs for in the backend.
  • Added option to enable the removal of queries, query logs, query executions and query targets, called clean_query_logs and also clean_query_entries as integer which will have the number of entries to hold queries in the backend.

⚠️ If you enable this settings, and you do not have an additional logging mechanism (splunk, graylog) enabled, the logs will be removed from the backend and therefore lost. ⚠️

@javuto javuto added ✨ enhancement New feature or request osctrl-admin osctrl-admin related changes labels May 8, 2020
@javuto javuto added this to the v0.2.2 milestone May 8, 2020
@javuto javuto self-assigned this May 8, 2020
@javuto javuto merged commit 58005c4 into master May 8, 2020
@javuto javuto deleted the limit-local-logs branch May 8, 2020 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ enhancement New feature or request osctrl-admin osctrl-admin related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant