You can read the sqlite database:
Code:
sqlite3 /home/user/.rtcom-eventlogger/el-v1.db "Select remote_uid,
free_text, outgoing, is_read, storage_time from Events where service_id=3 and e
vent_type_id=11 order by storage_time desc"
if you want to read only incoming messages add
to the where condition