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
|
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
|
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
|
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
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. |