Page 2 of 3

Re: cant get deluged-debug.exe to log

Posted: Thu Apr 21, 2016 10:04 pm
by haydent
yes, but even with
deluged-debug.exe -L ERROR -l "%UserProfile%\Desktop\deluge.log" (**update, ERROR should be DEBUG )
all i get is an empty file

yet if im not running deluged-debug.exe but deluge-debug.exe it logs fine into the program dir (or wherever)
http://forum.deluge-torrent.org/viewtop ... 41#p223941

Re: cant get deluged-debug.exe to log

Posted: Fri Apr 22, 2016 11:29 am
by Cas
Well the fact it created the file means it is working and if there are no errors then there is nothing to log for error level...

Re: cant get deluged-debug.exe to log

Posted: Sat Apr 23, 2016 5:14 am
by haydent
Sorry what i meant to have typed is that even -L DEBUG i get an empty file

Re: cant get deluged-debug.exe to log

Posted: Sat Apr 23, 2016 11:21 am
by Cas
Have you tried just deluged.exe?

Are you sure you have not overlooked something because other than a permission issue on Windows there are no know issues with Deluge logging to file.

Re: cant get deluged-debug.exe to log

Posted: Sat Apr 23, 2016 12:49 pm
by haydent
will try again

Re: cant get deluged-debug.exe to log

Posted: Tue Apr 26, 2016 8:51 am
by Cas
Despite these issue with logging to file you should still at least be able to log deluged to shell.

Re: cant get deluged-debug.exe to log

Posted: Tue Apr 26, 2016 10:04 am
by haydent
yeah thats the thing, neither show anything log specified or not, but hey must be just me

Re: cant get deluged-debug.exe to log

Posted: Tue Apr 26, 2016 10:26 pm
by Cas
It's been tested without issue on XP and 8.1 by opening a command prompt and running the command

Code: Select all

"C:\Program Files\Deluge\deluged-debug.exe" -L debug
I checked for powershell on 8.1 and you have to prefix it with ampersand:

Code: Select all

& "C:\Program Files\Deluge\deluged-debug.exe" -L debug

Re: cant get deluged-debug.exe to log

Posted: Wed Apr 27, 2016 12:06 am
by haydent
haha crack up, another noob oversight, my problem was in the definition of debug level, i was using DEBUG and INFO rather than debug and info (lowercase)

Re: [solved] cant get deluged-debug.exe to log

Posted: Wed Apr 27, 2016 12:11 am
by haydent
maybe some adjustment could be made to deluged-debug.exe as capitals works with deluged.exe but not deluged-debug.exe this is why i didnt notice earlier