Logging settings

Information on the logging settings section.

The majority of logging related configuration has been moved to the Serilog configuration see Serilog settings for more information.

The following configuration is available in the Logging settings:

"Umbraco": {
  "CMS": {
    "Logging": {
      "MaxLogAge": "2.00:00:00",
      "Directory": "~/CustomLogFileLocation"


This setting allows you to configure the maximum log age for the internal audit log scrubbing. The default maximum age for the internal audit log is 24 hours. Change the duration with the MaxLogAge key in the Logging settings.

To increase the maximum age of the entries in the audit log to 48 hours (2 days), set the value to 2.00:00:00.


By default, all log files are saved to the umbraco/Logs directory. You can define a custom directory for your log files by using the Directory key in the Logging settings.

Set the value to ~/LogFiles to add all log files to a LogFiles directory in the root of the file structure.

Last updated