Mono and syslog

Sonarr version (exact version):
2.0.0.3732
Mono version (if Sonarr is not running on Windows):4.2.1
OS: Debian Jessie
Debug logs (posted to hastebin or similar):
Description of issue (if you think you’ve found a bug please include steps to reproduce):
Not sure if anyone can help me here, but is there a way to have mono logs go to something other than /var/log/syslog ?
When i am diagnosing other things i find myself going through mono spam from sonarr.

I’m running into this same problem-- tons of unnecessary messages to syslog on linux. How do we turn this off? Sonarr already logs to its own logfiles.

Nothing in Sonarr tells mono to write to syslog, not sure if there is a configuration option to disable it or if you’ll need to find another way.

It just depends on how you configure the startup. upstart logs in his own /var/log/upstart/… directory. dunno about systemd and init.d.

You can silence the stdout in the systemd unit, just add

StandardOutput=null
StandardError=null

At [service]

run systemctl daemon-reload and restart the service.

The proper way of doing this is to create a drop in folder at /etc/systemd/system/sonarr.service.d/ and add a conf file with the two directives so package upgrade doesn’t overwrite the unit.

1 Like

@subzero79: Thank you! Looks like that worked perfectly.

@markus101, @ taloth: IMO, this setting should be the default for linux systemd startup.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.