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

Specific support for Deluge on Microsoft Windows OS
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: cant get deluged-debug.exe to log

Post 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
Last edited by haydent on Sat Apr 23, 2016 5:14 am, edited 1 time in total.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: cant get deluged-debug.exe to log

Post 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...
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: cant get deluged-debug.exe to log

Post by haydent »

Sorry what i meant to have typed is that even -L DEBUG i get an empty file
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: cant get deluged-debug.exe to log

Post 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.
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: cant get deluged-debug.exe to log

Post by haydent »

will try again
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: cant get deluged-debug.exe to log

Post by Cas »

Despite these issue with logging to file you should still at least be able to log deluged to shell.
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: cant get deluged-debug.exe to log

Post by haydent »

yeah thats the thing, neither show anything log specified or not, but hey must be just me
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: cant get deluged-debug.exe to log

Post 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
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

Re: cant get deluged-debug.exe to log

Post 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)
haydent
Member
Member
Posts: 30
Joined: Tue Apr 12, 2016 10:24 am

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

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