Search Results for

    Show / Hide Table of Contents

    Class LogScrubber

    Log scrubbing hosted service.

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

    Will only run on non-replica servers.

    Constructors

    LogScrubber(IMainDom, IServerRoleAccessor, IAuditService, IOptions<LoggingSettings>, IScopeProvider, ILogger<LogScrubber>, IProfilingLogger)

    Initializes a new instance of the LogScrubber class.

    Declaration
    public LogScrubber(IMainDom mainDom, IServerRoleAccessor serverRegistrar, IAuditService auditService, IOptions<LoggingSettings> settings, IScopeProvider 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.

    IOptions<LoggingSettings> settings

    The configuration for logging settings.

    IScopeProvider scopeProvider

    Provides scopes for database operations.

    ILogger<LogScrubber> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    Methods

    PerformExecuteAsync(Object)

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