GNOME Bugzilla – Bug 549587
save log immediately when a new message is received
Last modified: 2008-08-27 15:24:44 UTC
Several times over the past few days, I've had to restart my computer / my session / Empathy for various reasons. Each time, I've found that when I open new conversations, the log is missing messages. Presumably this is because Empathy didn't quit properly and therefore didn't save the log. Obviously, saving the log a lot is a pain because it's in XML so you either have to rewrite the whole file (meaning wasted IO) or somehow seek backwards and just overwrite the end (which is a PITA to implement). XML seriously sucks for append-only formats and we should consider not using it, but that's a different bug. This bug means I lose my data; this is unacceptable.
Is this bug 549284 ?
Ah, yes. I don't think 549284 is a duplicate of 518414 though. I think it can (and should) be fixed without creating a separate process. Creating a logger process can be done later. I'll adjust the bugs accordingly.
*** This bug has been marked as a duplicate of 549284 ***