\subsection{BitTorrent Clients Instrumentation}
\input{logarch/clients.tex}
\subsection{Parser}
-\subsection{Database}
+\input{logarch/parser.tex}
+
+\subsection{Database}\label{database}
\subsection{GUI}
\ No newline at end of file
--- /dev/null
+
+In order to fill the database's \textit{status\_messages} and \textit{verbose\_messages tables},
+the log files need to be parsed. For each BitTorrent client we implemented in Python two parsers for status and
+verbose information, which use the database communication methods discussed in section \ref{database} to save
+the parsed data in the database.
+
+All these scripts receive as arguments a client id corresponding to a row in \textit{clients} table, the log file
+and the database.
+
+\subsubsection {Tribler logs parsing}
+[TODO]
+Example of a status line (shown here split into two line):
+\begin{verbatim}
+ 03-Nov-2009 12:18:55 aqua.mpeg DLSTATUS_DOWNLOADING 29.84%
+ None up 0.00KB/s down 4414.39KB/s eta 12 peers 2
+\end{verbatim}
+
+Examples of protocol message lines:
+[TODO]
+
+
\title{An Extensive Reporting, Storage and Analysis Infrastructure for BitTorrent}
-\author{Adriana Draghici, Sandu Popa Marius\\
+\author{Adriana Draghici, Sandu Popa Marius, Razvan Deaconescu\\
University Politehnica of Bucharest\\
Computer Science and Engineering Department \\
Splaiul Independen\c{t}ei nr. 313, Bucharest, Romania \\
- \emph{adriana.draghici@cti.pub.ro, sandupopamarius@gmail.com} \\
+ \emph{\{adriana.draghici, marius.sandupopa\}}@cti.pub.ro, razvan.deaconescu@cs.pub.ro \\
}
\date{February 11, 2010}