README file for libtorrent/StatusParser.py
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 31 Oct 2009 21:20:24 +0000 (23:20 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Sat, 31 Oct 2009 21:20:24 +0000 (23:20 +0200)
log-parser/libtorrent/README [new file with mode: 0644]

diff --git a/log-parser/libtorrent/README b/log-parser/libtorrent/README
new file mode 100644 (file)
index 0000000..8ec9438
--- /dev/null
@@ -0,0 +1,20 @@
+== StatusParser.py ==
+
+libtorrent status log files parser. A status log file is passed as argument.
+Lines are parsed and written to status_messages table in database.
+
+Its arguments are a client session id, the status filename and the
+database filename.
+
+** Draft **
+
+* At this point, there is no database interraction (DatabaseWriter.py
+function call is commented out).
+* Sample call:
+
+---
+razvan@valhalla:~/projects/p2p-next/cs-p2p-next/log-parser/libtorrent$ PYTHONPATH=../../auto/db/ python StatusParser.py -i 2 -f ../../log-samples/libtorrent/libtorrent-status.sample.log ../../auto/db/p2p-next.db 
+---
+
+* Some debug output messages can be enabled by initializing the DEBUG
+global variable in the StatusParser.py to True.