Replies: 3 comments 3 replies
-
Hi @bjarnef Serilog should automatically clean up logs. By default Umbraco uses the default Serilog value, for You should be able to configure that in appsettings: https://docs.umbraco.com/umbraco-cms/reference/configuration/serilog#changing-the-umbraco-sink |
Beta Was this translation helpful? Give feedback.
-
In addition to this, production logs can get too big for Umbraco to load and parse - might be better to use Database or Table Storage sinks instead? |
Beta Was this translation helpful? Give feedback.
-
Just an update here: We found an issue that Serilog do only cleanup file on the same server as they was created (server name is part of the file name serilog knows). We are working together with the CMS Group to figure out how to best solve this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes the number of logs on disk can grow a lot over time and eventually take up disk space - especially on Starter Plan:
#905
We can access Kudo, download "Logs" folder and delete it afterwards or just each individual file.
However it would be great if it was possible to cleanup older logs older than xx days or before date
yyyy-MM-dd
.If not via portal, perhaps a command to make it easier clear older log files?
In both cases, recommend to download "Logs" folder first before deleting in case they are needed.
Beta Was this translation helpful? Give feedback.
All reactions