Page 1 of 1

log_dir getting ignored

Posted: June 13th, 2012, 10:16 am
by bungiman
I have sabnzbd set up in /usr/lib/sabnzbd and have set my log_dir in sabnzbd.ini (which is in /usr/lib/sabnzbd too) to be /var/log/sabnzbd which is 775 sabnzbd:sabnzbd. My main problem is that when I add some prints to see what log_dir is set to it still says "/usr/lib/sabnzbd/logs" which doesn't exist and can't be created because of permissions in /usr/lib/sabnzbd.

Any idea why my configuration is getting ignore?

Thanks!

Re: log_dir getting ignored

Posted: June 13th, 2012, 12:22 pm
by shypike
The actual SABnzbd code uses the log_dir variable in the [misc] section.
I don't know if the package has any influence.

Re: log_dir getting ignored

Posted: June 13th, 2012, 12:30 pm
by bungiman
I think I narrowed down the problem. I specified the ini with -f but I should have specified the folder it was in.