log_dir getting ignored

Support for the Debian/Ubuntu package, created by JCFP.

log_dir getting ignored

Postby bungiman » June 13th, 2012, 11:16 am

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!
bungiman
Newbie
Newbie
 
Posts: 2
Joined: June 13th, 2012, 11:11 am

Re: log_dir getting ignored

Postby shypike » June 13th, 2012, 1:22 pm

The actual SABnzbd code uses the log_dir variable in the [misc] section.
I don't know if the package has any influence.
User avatar
shypike
Administrator
Administrator
 
Posts: 16581
Joined: January 18th, 2008, 1:49 pm

Re: log_dir getting ignored

Postby bungiman » June 13th, 2012, 1:30 pm

I think I narrowed down the problem. I specified the ini with -f but I should have specified the folder it was in.
bungiman
Newbie
Newbie
 
Posts: 2
Joined: June 13th, 2012, 11:11 am


Return to Debian/Ubuntu Package