Skip to main content

Telepathy logging to CouchDB

CouchDB is no longer used by Ubuntu One, so this post only has a tiny amount of historical value.

A picture is worth a thousand words so here is the picture:

/galleries/dropbox/Couchdb-Logging.thumbnail.png

And here are those thousand words:

{
"_id": "e5f826969abc88da927500f018d5acf3",
"_rev": "1-aedda30270d6a77eea4901e35d9209b3",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "elfy.ua@gmail.com",
"message": "Please say something for the world - testing CouchDB logging.",
"from": "roman.yepishev@gmail.com",
"time": "2009-12-01T18:58:18"
}
{
"_id": "4f043681a4c11956c592916ea5f6a7ac",
"_rev": "1-630942a3af4fbd54af0e66a47a1c8ed7",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "roman.yepishev@gmail.com",
"message": "Hello",
"from": "elfy.ua@gmail.com",
"time": "2009-12-01T18:58:28"
}
{
"_id": "483c5f7649caefb81ce49460a21fe20a",
"_rev": "1-d18e6e8170a01e46c82ace0f196ebca0",
"record_type": "http://www.rtg.in.ua/empathy-im-couchdb",
"to": "elfy.ua@gmail.com",
"message": "Ok, this is sufficient :)",
"from": "roman.yepishev@gmail.com",
"time": "2009-12-01T18:58:37"
}
/galleries/dropbox/telepathy-u1.png

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