共用方式為


FileSystemHttpLogsConfig Class

Definition

Http logs to file system configuration.

public class FileSystemHttpLogsConfig
type FileSystemHttpLogsConfig = class
Public Class FileSystemHttpLogsConfig
Inheritance
FileSystemHttpLogsConfig

Constructors

FileSystemHttpLogsConfig()

Initializes a new instance of the FileSystemHttpLogsConfig class.

FileSystemHttpLogsConfig(Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the FileSystemHttpLogsConfig class.

Properties

Enabled

Gets or sets true if configuration is enabled, false if it is disabled and null if configuration is not set.

RetentionInDays

Gets or sets retention in days. Remove files older than X days. 0 or lower means no retention.

RetentionInMb

Gets or sets maximum size in megabytes that http log files can use. When reached old log files will be removed to make space for new ones. Value can range between 25 and 100.

Methods

Validate()

Validate the object.

Applies to