You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/User Guide/User Guide/Troubleshooting/Error logs/Backend (server) logs.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Backend (server) logs
1
+
# Backend (server) logs
2
2
## Accessing via the backend log
3
3
4
4
In the <aclass="reference-link"href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Global%20menu.md">Global menu</a>, go to Advanced → Show backend log
@@ -24,5 +24,11 @@ retentionDays=7
24
24
25
25
Or via the environment variable `TRILIUM_LOGGING_RETENTION_DAYS`.
26
26
27
+
Special cases:
28
+
29
+
* Positive values indicate the number of days worth of logs to keep
30
+
* A value of 0 results with the default value (90 days) to be used
31
+
* Negative values (e.g. `-1`) result with all logs to be kept, irrespective how ancient and numerous (and
32
+
27
33
> [!NOTE]
28
34
> If you set the retention days to a low number, you might notice that not all the log files are being deleted. This is because a minimum number of logs (7 at the time of writing) is maintained at all times.
0 commit comments