Search Results for

    Show / Hide Table of Contents
    View Source

    Class LoggingSettings

    Typed configuration options for logging settings.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class LoggingSettings

    Properties

    View Source

    Directory

    Gets or sets the folder to use for log files.

    Declaration
    public string Directory { get; set; }
    Property Value
    Type Description
    System.String

    The directory.

    View Source

    FileNameFormat

    Gets or sets the file name format to use for log files.

    Declaration
    public string FileNameFormat { get; set; }
    Property Value
    Type Description
    System.String

    The file name format.

    View Source

    FileNameFormatArguments

    Gets or sets the file name format arguments to use for log files.

    Declaration
    public string FileNameFormatArguments { get; set; }
    Property Value
    Type Description
    System.String

    The file name format arguments as a comma delimited string of accepted values.

    Remarks

    Accepted values for format arguments are: MachineName, EnvironmentName.

    View Source

    MaxLogAge

    Gets or sets a value for the maximum age of a log file.

    Declaration
    public TimeSpan MaxLogAge { get; set; }
    Property Value
    Type Description
    TimeSpan

    The maximum log age.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX