你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FileSystemHttpLogsConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |