[Adium-devl] More Logging Decisions
David Smith
catfish.man at gmail.com
Thu Jun 1 07:54:24 UTC 2006
Hey folks,
We've got a bit of an interesting dilemma here. We started the
##instantmessaging channel on freenode to discuss a cross platform
cross client log format with the developers of kopete, gaim,
telepathy, and a few others. We got a lot more details pinned down
about the XML logging format, which was all fine and dandy until
Xenon of colloquy fame showed up and said (loosely paraphrased):
"XML? I'm switching away from xml. It's too slow for IRC. 6 days ago
I committed a new in-progress SQLite based logger to Colloquy; btw,
the adium sqlite logger was way slower than it needed to be because
it didn't set fullfsync to 0"
Cue forehead slapping from Chris, Colin, and myself. So now we're
left with the following situation:
XML:
pros: close to done, semi-human readable, liked by several other
clients
cons: apparently rather slower than properly done sqlite, which is
claimed to be a major problem for irc/jabber confs
SQLite:
pros: probably just a matter of revamping Sam's sqlite logger based
on Xenon's schema, and setting fullfync to 0, supposedly faster
cons: no idea if the other clients like it (We could do export/
import to xml though, so this may not be a huge issue), not as human
readable
Both can handle spotlight, and Colin says he's worked out how to do
phrase searching for sqlite if we use it. Currently, Colin plans to
finish up the XML logger, and we can ship that for 1.0. The
limitations of it won't become apparent (if they become apparent)
until we have really solid group chat.
David
More information about the devel
mailing list