Page 1 of 1

Logging

Posted: Thu Oct 23, 2008 8:30 am
by dgtiii
i did a brief search oer the forum and havent found anything on this.
i would really like a log of amounts downloaded or maby a display of my all time ratio.
has this already been implimented?

Re: Logging

Posted: Thu Oct 23, 2008 9:26 am
by johnnyg
not yet.
you can enable logging in deluge: http://dev.deluge-torrent.org/wiki/Faq# ... ingenabled
but this logs everything and not just the parts you want.

Re: Logging

Posted: Thu Oct 23, 2008 3:50 pm
by mvoncken
It depends on what you want to do with the stats.

There is a stats plugin in 1.1, the default will show an up/down graph for the latest 5 minutes.
that plugin also keeps track of total up/down (no ui yet): http://dev.deluge-torrent.org/browser/t ... t_total.py

But if you want to extract stats from deluge to use them somewhere else there are other options.
You would have to script a bit of python:

Code: Select all

#prints current deluge upload/download in bps
from deluge.ui.client import sclient
sclient.set_core_uri()
stats = sclient.get_stats()
print stats["upload_rate"]
print stats["download_rate"]
We could use some ideas for the stats plugin, tell us what you want to do/see.

Re: Logging

Posted: Thu Oct 23, 2008 10:15 pm
by Mindzai
up/down amounts and speeds over certain periods (last x hours/days/weeks/month/all time) would be nice.

Re: Logging

Posted: Fri Oct 24, 2008 9:04 am
by dgtiii
Mindzai wrote:up/down amounts and speeds over certain periods (last x hours/days/weeks/month/all time) would be nice.

pretty much it.

also, (unrelated) i'd love to sort my completed downloads by "date completed". (to sit there next to ETA and Ratio) helps alot when reviewing the downloads of the night before.