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

Add config to manage how long logs are stored #3257

Merged
merged 9 commits into from Nov 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update core/config_help.json (Fix copy paste)
Co-authored-by: Jerrie <70805800+Jerrie-Aries@users.noreply.github.com>
Signed-off-by: Cordila <49218334+Cordila@users.noreply.github.com>
  • Loading branch information
Cordila and Jerrie-Aries authored Sep 8, 2023
commit ae6aa1df6ab09323bc109306031660c7d4942aed
4 changes: 2 additions & 2 deletions core/config_help.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@
"default": "Never",
"description": "The duration closed threads will be stored within the database before deletion. Logs that have been closed for longer than this duration will be deleted automatically.",
"examples": [
"`{prefix}config set thread_cooldown P12DT3H` (stands for 12 days and 3 hours in [ISO-8601 Duration Format](https://en.wikipedia.org/wiki/ISO_8601#Durations))",
"`{prefix}config set thread_cooldown 3 days and 5 hours` (accepted readable time)"
"`{prefix}config set log_expiration P12DT3H` (stands for 12 days and 3 hours in [ISO-8601 Duration Format](https://en.wikipedia.org/wiki/ISO_8601#Durations))",
"`{prefix}config set log_expiration 3 days and 5 hours` (accepted readable time)"
],
"notes": [
"To disable log expiration, do `{prefix}config del log_expiration`."
Expand Down