log_dir getting ignored

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
bungiman
Newbie
Newbie
Posts: 2
Joined: June 13th, 2012, 10:11 am

log_dir getting ignored

Post 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!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: log_dir getting ignored

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

Re: log_dir getting ignored

Post 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.
Post Reply