mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
moved log to object db.
This commit is contained in:
parent
71dcd623f7
commit
b3c6db5997
21 changed files with 157 additions and 321 deletions
|
@ -7,11 +7,11 @@ namespace NzbDrone.Core.Instrumentation
|
|||
{
|
||||
public class TrimLogsJob : IJob
|
||||
{
|
||||
private readonly LogProvider _logProvider;
|
||||
private readonly LogService _logService;
|
||||
|
||||
public TrimLogsJob(LogProvider logProvider)
|
||||
public TrimLogsJob(LogService logService)
|
||||
{
|
||||
_logProvider = logProvider;
|
||||
_logService = logService;
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
@ -26,7 +26,7 @@ namespace NzbDrone.Core.Instrumentation
|
|||
|
||||
public virtual void Start(ProgressNotification notification, dynamic options)
|
||||
{
|
||||
_logProvider.Trim();
|
||||
_logService.Trim();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue