Re: Beagle and Gaim Logs



Richard Laager wrote:
1. Old Logs

Really old versions of Gaim (pre 0.70, I think) stored conversations in
what we now call "old logs". These files are flat files, which contain
all the conversations for a given buddy. They are named things like:
~/.gaim/logs/rlaager.log (for a buddy with the screenname "rlaager").

Beagle doesn't seem to index these. In the interest of completeness*,
I'd like to see these files be indexed, and I'm willing to help in
whatever way I can. I never used C# before, so I would need a little
guidance if I was to try to create a patch.

We used to index these, but dropped support when we reworked the IM log filtering. To my knowledge, we haven't had any comments about this - i.e. nobody noticed so far ;)

Beagle isn't very good at indexing log files like this, since they just continually grow and grow, and beagle ends up indexing the whole file every time a line is added. This is OK for small per-conversation files, but is a problem otherwise.

It's not my decision to make, but my opinion is that we shouldn't stretch to indexing those old logs unless there is visible demand.

Also on this topic, I wrote some patches a while ago, making IM log parsing more efficient:

http://bugzilla.gnome.org/show_bug.cgi?id=322669

Someone should probably redo these against the current tree and then repeatedly prod Joe for review :)

Daniel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]