A picture is worth a thousand words so here is the picture:
And here are those thousand words:
{
"_id": "e5f826969abc88da927500f018d5acf3",
"_rev": "1-aedda30270d6a77eea4901e35d9209b3",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "[email protected]",
"message": "Please say something for the world - testing CouchDB logging.",
"from": "[email protected]",
"time": "2009-12-01T18:58:18"
}
{
"_id": "4f043681a4c11956c592916ea5f6a7ac",
"_rev": "1-630942a3af4fbd54af0e66a47a1c8ed7",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "[email protected]",
"message": "Hello",
"from": "[email protected]",
"time": "2009-12-01T18:58:28"
}
{
"_id": "483c5f7649caefb81ce49460a21fe20a",
"_rev": "1-d18e6e8170a01e46c82ace0f196ebca0",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "[email protected]",
"message": "Ok, this is sufficient :)",
"from": "[email protected]",
"time": "2009-12-01T18:58:37"
}
I am reviewing the code at the moment to make it pass pylint tests and additional testing is needed for different types of accounts. Stay tuned!
Please note that mission-control-5 shipped in Karmic has a bug preventing Observers from seeing the conversation originated by local users. The fix is available only in their PPA at the moment — ppa:telepathy/ppa if you are running Karmic version of ‘Software Sources’
See also
- IRC discussion about empathy logging and couchdb.
- Draft documentation on upcoming telepathy-logger.
- telepathy-couchdb-logger.py, the source.