Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/blame/commit/63e303af3b470ace2f5194d11a9c2b1df26e8af3/NzbDrone.Core/Instrumentation/LogProvider.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Readarr/NzbDrone.Core/Instrumentation/LogProvider.cs

30 lines
627 B

using System.Collections.Generic;
using NLog;
using PetaPoco;
namespace NzbDrone.Core.Instrumentation
{
public class LogProvider
{
private readonly IDatabase _database;
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
public LogProvider(IDatabase database)
{
_database = database;
}
public IList<Log> GetAllLogs()
{
return _database.Fetch<Log>();
}
public void DeleteAll()
{
_database.Delete<Log>("");
Logger.Info("Cleared Log History");
}
}
}