Adding neccessary prep code for Total BW
This commit is contained in:
parent
d54e72e094
commit
92fbd45f4e
|
@ -1120,7 +1120,14 @@ public class TorService extends Service implements TorServiceConstants, TorConst
|
||||||
sb.append("kb read / ");
|
sb.append("kb read / ");
|
||||||
sb.append(written/1000);
|
sb.append(written/1000);
|
||||||
sb.append("kb written");
|
sb.append("kb written");
|
||||||
|
/* try {
|
||||||
|
sb.append("Total upload :"+conn.getInfo("traffic/written"));
|
||||||
|
sb.append("Total Download "+conn.getInfo("traffic/read"));
|
||||||
|
} catch (IOException e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
*/
|
||||||
logNotice(sb.toString());
|
logNotice(sb.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue