|
2 | 2 |
|
3 | 3 | Snel en eenvoudig slimme formulieren bouwen en publiceren |
4 | 4 |
|
5 | | -   |
| 5 | +   |
6 | 6 |
|
7 | 7 | ## Introduction |
8 | 8 |
|
@@ -74,6 +74,13 @@ settings: |
74 | 74 |
|
75 | 75 | The value of the `DSN` is considered sensitive, so it should be handled as a secret. |
76 | 76 |
|
| 77 | +### Cleaning up logs |
| 78 | + |
| 79 | +It is possible to schedule a `CronJob` resource to clean up Timeline log entries. In order to enable it, set the value `settings.cleanLogs.enabled: true`. |
| 80 | +You can configure the number of days for which the logs should be kept by specifying `settings.cleanLogs.daysRetained`. A value of `90` will keep all the logs newer than `90` days. |
| 81 | + |
| 82 | +Note that if you have accumulated a large number of logs, it is possible that the job might be OOM killed. Keep an eye on it to make sure that logs are properly deleted. |
| 83 | + |
77 | 84 | ### Open Telemetry |
78 | 85 |
|
79 | 86 | Open Forms supports the Open Telemetry Protocol. |
@@ -269,9 +276,9 @@ The static file serving feature uses the existing media PVC with subPaths to org |
269 | 276 | | settings.celery.resultBackend | string | `""` | | |
270 | 277 | | settings.cleanLogs.cronjob.historyLimit | int | `1` | | |
271 | 278 | | settings.cleanLogs.cronjob.resources | object | `{}` | | |
272 | | -| settings.cleanLogs.cronjob.schedule | string | `"0 0 * * *"` | Schedule to run the clean logs cronjob | |
| 279 | +| settings.cleanLogs.cronjob.schedule | string | `"0 0 * * *"` | Schedule to run the clean logs cronjob. The default will run the job every day at 00:00 | |
273 | 280 | | settings.cleanLogs.daysRetained | int | `90` | Number of days to retain logs | |
274 | | -| settings.cleanLogs.enabled | bool | `false` | Clean Logs, Messages, Timelog Entries | |
| 281 | +| settings.cleanLogs.enabled | bool | `false` | Clean Timeline Log entries | |
275 | 282 | | settings.cookieSamesite | string | `""` | Choises Strict or Lax | |
276 | 283 | | settings.cors.allowAllOrigins | bool | `false` | | |
277 | 284 | | settings.cors.allowedOrigins | list | `[]` | | |
|
0 commit comments