Move log files to external USB drive to allow discs to go in hibernation

I would like to write sonarr log files to an external usb drive to allow my discs to go into hibernation. My hard drives do not need to be active each time sonarr writes a log entry when doing background tasks.
I don’t see this option in the UI, is there a command line option available for this or any other way to achieve this?

Kind regards.

This depends on which platform you’re running on.

Logs are stored in Sonarr’s app data folder, which can be moved with the unsupported --data switch (it was added for testing purposes, but some people have had success with using it in a production setup).

Thank you for the quick reply. I currently using Sonarr on a Synology NAS (DS411).

This would need to be a setting for the package itself then since it wraps the startup of Sonarr. Best to contact the maintainer of that package.

How exactly use the --data switch? I have tried:

mono --debug NzbDrone.exe --data /usr/local/var/nzbdata
mono --debug NzbDrone.exe -data /usr/local/var/nzbdata

But is see nothing happening. I can’t find anything about this in the wiki. Can you give an example please?

--data=path

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