Logging

Suggest, post, or discuss plugins for Deluge
Post Reply
dgtiii

Logging

Post 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?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Logging

Post 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.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Logging

Post 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.
dev: webui, core, labels | irc:vonck7 |
Mindzai
Member
Member
Posts: 47
Joined: Sat Oct 04, 2008 5:06 pm
Location: England

Re: Logging

Post by Mindzai »

up/down amounts and speeds over certain periods (last x hours/days/weeks/month/all time) would be nice.
dgtiii

Re: Logging

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