Route 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

A Content Composer application configuration file contains one or more <Route> XML elements.

A <Route> 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_Core_log.txt

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.

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.

exclude-profiles

Contains the Profiles that are not written to this route as a comma-separated list. All profiles not included in the list will be written.

The default value is an empty string.

Note: The include-profiles key overrules this setting.
include-profiles

Defines which Profiles are written to this route as a comma-separated list. Profiles not included in the list will not be written.

To include all profiles, set the value to an empty string.

AllowUnknownKeys

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