Search Results for

    Show / Hide Table of Contents
    View Source

    Class LogScrubber

    Log scrubbing hosted service.

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class LogScrubber : RecurringHostedServiceBase
    Remarks

    Will only run on non-replica servers.

    Constructors

    View Source

    LogScrubber(IMainDom, IServerRoleAccessor, IAuditService, IOptionsMonitor<LoggingSettings>, ICoreScopeProvider, ILogger<LogScrubber>, IProfilingLogger)

    Initializes a new instance of the LogScrubber class.

    Declaration
    public LogScrubber(IMainDom mainDom, IServerRoleAccessor serverRegistrar, IAuditService auditService, IOptionsMonitor<LoggingSettings> settings, ICoreScopeProvider scopeProvider, ILogger<LogScrubber> logger, IProfilingLogger profilingLogger)
    Parameters
    Type Name Description
    IMainDom mainDom

    Representation of the main application domain.

    IServerRoleAccessor serverRegistrar

    Provider of server registrations to the distributed cache.

    IAuditService auditService

    Service for handling audit operations.

    IOptionsMonitor<LoggingSettings> settings

    The configuration for logging settings.

    ICoreScopeProvider scopeProvider

    Provides scopes for database operations.

    ILogger<LogScrubber> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    Methods

    View Source

    PerformExecuteAsync(Object)

    Declaration
    public override Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • LogScrubber(IMainDom, IServerRoleAccessor, IAuditService, IOptionsMonitor<LoggingSettings>, ICoreScopeProvider, ILogger<LogScrubber>, IProfilingLogger)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX