Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log various data of download items during different events and startup time in rtorrent #142

Closed
chros73 opened this issue Apr 18, 2018 · 0 comments

Comments

@chros73
Copy link
Owner

chros73 commented Apr 18, 2018

Log various data of download items during different events and startup time in rtorrent (thx @pyroscope):

  • in the view:
    • display startup time during startup
    • display event and various data of download
      • event, title, size, uploaded data, ratio, seeders/leechers scrape info, loaded time, disk free space, tracker
      • logged events: inserted_new, resumed, finished, hash_done, partially_restarted, erased
2018-04-26  8:18:04 LOADED     Great Southern Stand Breaking News - Stupid Warning Labels Comedy               1.4G  U:  0.0K  R: ·.00  S: ·/L: ·  26/04/2018  8:18:04 ( 47.3G) opentrackr.org
2018-04-26  8:18:04 STARTED    Great Southern Stand Breaking News - Stupid Warning Labels Comedy               1.4G  U:  0.0K  R: ·.00  S: ·/L: ·  26/04/2018  8:18:04 ( 47.3G) opentrackr.org
2018-04-26  8:19:01 COMPLETED  Great Southern Stand Breaking News - Stupid Warning Labels Comedy               1.4G  U:235.4M  R: ·.16  S:17/L: 6  26/04/2018  8:18:04 ( 45.9G) opentrackr.org
2018-04-26 11:19:01 DELETED    Great Southern Stand Breaking News - Stupid Warning Labels Comedy               1.4G  U:941.6M  R: ·.64  S:49/L: 2  26/04/2018  8:18:04 ( 45.9G) opentrackr.org
  • into file as well:
    • create a .log directory for log files into /mnt/Torrents/.rtorrent/ dir
    • log into /mnt/Torrents/.rtorrent/.log/messages.log file
    • logrotate this file (without compressing it):
      • reserve 10 logs
      • size limit is 100KB
      • trigger it via cron once per day for the user, not as a system wide setting (it needs the user's permission)

Requires rTorrent-PS-CH 1.7.0 !
Refers to: chros73/rtorrent-ps-ch#122

@chros73 chros73 added this to the 0.9.9-0.9.7 milestone Apr 18, 2018
@chros73 chros73 changed the title Log loaded, completed, deleted download items in rtorrent Log loaded, completed, deleted download items and startup time in rtorrent Apr 24, 2018
@chros73 chros73 changed the title Log loaded, completed, deleted download items and startup time in rtorrent Log various data of download items during different events and startup time in rtorrent Apr 26, 2018
@chros73 chros73 closed this as completed in 80f489c May 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant