Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deluge daemon not logging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Mon Nov 08, 2010 4:42 am    Post subject: Deluge daemon not logging Reply with quote

The web gui logs, but not the daemon.
/var/log/deluge/ starts off as empty:
Quote:
hostname conf.d # ls -la /var/log/deluge/
total 1
drwxr-xr-x 2 deluge nogroup 48 Nov 8 15:36 .
drwxr-xr-x 5 root root 808 Nov 8 11:47 ..

After deluged has started, there is no daemon.log:
Quote:
hostname conf.d # /etc/init.d/deluged start
* Starting Deluged... [ ok ]
* Starting Deluge... [ ok ]
hostname conf.d # ls -la /var/log/deluge/
total 5
drwxr-xr-x 2 deluge nogroup 72 Nov 8 15:37 .
drwxr-xr-x 5 root root 808 Nov 8 11:47 ..
-rw-r--r-- 1 deluge nogroup 469 Nov 8 15:37 web.log

I would have thought these were the correct options to get deluged logging:
Quote:
hostname conf.d # egrep -v '^#' /etc/conf.d/deluged
DELUGED_USER="deluge:nogroup"
DELUGEUI_START="true"
DELUGEUI_OPTS="-u web -L info -l /var/log/deluge/web.log"
DELUGED_OPTS="-L debug -l /var/log/deluge/daemon.log"

Quote:
hostname conf.d # ps aux | grep deluge
deluge 25527 3.1 0.7 60756 24172 ? SLsl 15:28 0:07 /usr/bin/python2.6 /usr/bin/deluged --do-not-daemonize -L debug -l /var/log/deluge/daemon.log
deluge 25531 1.1 0.4 15468 13600 ? Ss 15:28 0:02 /usr/bin/python2.6 /usr/bin/deluge -u web -L info -l /var/log/deluge/web.log

Quote:
hostname ~ # deluged --version
1.3.0

deluged is not logging. Any ideas why.

Regards

Fog_Watch.
Back to top
View user's profile Send private message
non7top
n00b
n00b


Joined: 17 Dec 2008
Posts: 16

PostPosted: Tue Jan 03, 2012 10:06 pm    Post subject: Reply with quote

I'm having exactly same issue and so far I was not able to find a solution. Strange is that if I run the same command directly from command line then it logs as it should.
Back to top
View user's profile Send private message
or4n
n00b
n00b


Joined: 29 Jan 2003
Posts: 24
Location: Finland

PostPosted: Wed Sep 05, 2012 10:40 pm    Post subject: Reply with quote

Solved this one.

Edit init-script /etc/init.d/deluged

before:
Code:
-exec /usr/bin/deluged -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}"


after:
Code:
-exec /usr/bin/deluged -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize ${DELUGED_OPTS}


Just delete those quotation marks around ${DELUGED_OPTS}
_________________
Registered Linux-user #256243
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum