Audit Logging Configuration - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License

An <AuditRoutes> element contains the following configuration keys:

Key Name Description
minimum-level

Sets the minimum LogLevel that is written to this route.

Possible Values

  • Error
  • Warning
  • Information
  • Debug
File

Path to the log file including the file name. The path supports environment variables.

Example

%composerdir%\Composer.AUDIT.txt

Note: The file name is extended by the creation date.
FileRollInterval

Enables file rolling in the specified time interval.

Possible Values

  • Day
  • Hour
  • Minute
  • Month
  • Year
  • Infinite
FileRollOnSize

Enables file rolling when the FileByteLimit is reached.

If the key is present, the file will roll on size unless the value is explicitly set to False.

Possible Values

  • True
  • False
FileByteLimit

Sets the maximum file size for any individual log file.

When FileRollOnSize is not available or set to False, additional messages are dropped until the next rolling interval, if applicable.

The default file byte limit is 1 GB. To allow for unlimited file sizes, set the value to an empty string.

FileCountLimit

Sets the maximum number of files to retain when using rolling files. To allow unlimited files, use an empty string.

OutputFormat

Defines the output format for a log file line.

Possible Values

  • Minimal: Logs only time, log level, exception, and message fields and does not write any additional fields contained in the message.
  • Text: Logs all fields of the message as a list of key-value pairs. This is more human-readable than the Json option and contains more information than the Minimal option.
  • Json:: Writes out the message in a compact json format on a single line. This contains as much information as possible, the same as Text, but in a less human-readable way. This format is ideal for further processing.

The default value is Json.

AllowUnknownKeys

If the key is present, unknown configuration keys are passed to the Serilog library.