Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/1a0010e8e49e48b5d6e7ea2bb85ab71b3bf6f8f3/NzbDrone.Host/Owin/NlogTextWriter.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Host/Owin/NlogTextWriter.cs

40 lines
834 B

using System.IO;
using System.Text;
using NLog;
using NzbDrone.Common.Instrumentation;
namespace NzbDrone.Host.Owin
{
public class NlogTextWriter : TextWriter
{
12 years ago
private readonly Logger _logger = NzbDroneLogger.GetLogger();
public override Encoding Encoding
{
get
{
return Encoding.Default;
}
}
12 years ago
public override void Write(char[] buffer, int index, int count)
{
12 years ago
Write(buffer);
}
public override void Write(char[] buffer)
{
12 years ago
Write(new string(buffer));
}
public override void Write(string value)
{
12 years ago
_logger.Trace(value);
}
12 years ago
public override void Write(char value)
{
12 years ago
_logger.Trace(value);
}
}
}