Merge pull request #1200 from bbassie/feature/log-retention

Delete log files older than a configurable number of days
This commit is contained in:
Bastiaan authored and GitHub committed 2026-11-13 19:30:24 +00:00
1 parent 9ec817c1c6
commit e37bf31cd3
6 files changed
+177 -1

No files matched your search

+19
View File
@@ -48,6 +48,16 @@ Must be greater than 0.
Defaults to 60.
### controller.log_retention_days
Number of days to keep the controller and cluster log files in the log directory for.
Log files are named by the UTC date they were written and a file is deleted once its date is more than this many days in the past.
Old files are checked for on startup and every hour after that.
Set to 0 to keep logs forever.
Defaults to 30.
### controller.host_pairing_timeout
Time in seconds a host can wait for approval before its request expires, after which the host requests again with a new code.
@@ -436,6 +446,15 @@ Must be greater than 0.
Defaults to 60.
### host.log_retention_days
Number of days to keep the host log files in the log directory for.
Works the same way as controller.log_retention_days.
Set to 0 to keep logs forever.
Defaults to 30.
### host.allow_remote_updates
Whether the `host update` command in clusterioctl and the update button in the web interface are allowed to update the `@clusterio/host` package with npm.