Search Results for

    Show / Hide Table of Contents
    View Source

    Class LogScrubberJob

    Log scrubbing hosted service.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.BackgroundJobs.Jobs
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class LogScrubberJob : IRecurringBackgroundJob
    Remarks

    Will only run on non-replica servers.

    Constructors

    View Source

    LogScrubberJob(IAuditService, IOptionsMonitor<LoggingSettings>, ICoreScopeProvider, ILogger<LogScrubberJob>, IProfilingLogger)

    Initializes a new instance of the LogScrubberJob class.

    Declaration
    public LogScrubberJob(IAuditService auditService, IOptionsMonitor<LoggingSettings> settings, ICoreScopeProvider scopeProvider, ILogger<LogScrubberJob> logger, IProfilingLogger profilingLogger)
    Parameters
    Type Name Description
    IAuditService auditService

    Service for handling audit operations.

    IOptionsMonitor<LoggingSettings> settings

    The configuration for logging settings.

    ICoreScopeProvider scopeProvider

    Provides scopes for database operations.

    ILogger<LogScrubberJob> logger

    The typed logger.

    IProfilingLogger profilingLogger

    The profiling logger.

    Properties

    View Source

    Period

    Declaration
    public TimeSpan Period { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    View Source

    RunJobAsync()

    Declaration
    public Task RunJobAsync()
    Returns
    Type Description
    Task

    Events

    View Source

    PeriodChanged

    Declaration
    public event EventHandler PeriodChanged
    Event Type
    Type Description
    EventHandler
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • LogScrubberJob(IAuditService, IOptionsMonitor<LoggingSettings>, ICoreScopeProvider, ILogger<LogScrubberJob>, IProfilingLogger)
    • Properties
      • Period
    • Methods
      • RunJobAsync()
    • Events
      • PeriodChanged
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX