stephen304 / bitcannon

A torrent index archiving, browsing, and backup tool
http://bitcannon.io/
MIT License
408 stars 40 forks source link

add date-time to command line output #60

Closed marafa closed 9 years ago

marafa commented 9 years ago

Currently the output looks like this: [OK!] Starting to import from url: http://bitsnoop.com/api/latest_tz.php?t=all [!!!] I was given a URL that doesn't end in .txt or .txt.gz. I'll assume it's regular text. [OK!] Compression detection complete [OK!] Reading initialized [OK!] Reading completed 34 torrents imported 64 torrents skipped

for logging purposes, it should have the prefix bitcannon Feb 04 08:23:59.000 preceding each line

stephen304 commented 9 years ago

If I switch from fmt to log it should add timestamps.