After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 549587 - save log immediately when a new message is received
save log immediately when a new message is received
Status: RESOLVED DUPLICATE of bug 549284
Product: empathy
Classification: Core
Component: Archives
unspecified
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2008-08-27 15:03 UTC by Dafydd Harries
Modified: 2008-08-27 15:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dafydd Harries 2008-08-27 15:03:20 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.
Comment 1 Frederic Peters 2008-08-27 15:06:57 UTC
Is this bug 549284 ?
Comment 2 Dafydd Harries 2008-08-27 15:23:55 UTC
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.
Comment 3 Dafydd Harries 2008-08-27 15:24:44 UTC

*** This bug has been marked as a duplicate of 549284 ***