Ticket #408 (closed enhancement: fixed)
Implement appending to chat logs on demand
| Reported by: | valerio | Owned by: | fontknocker |
|---|---|---|---|
| Priority: | major | Milestone: | kmess-3.0 |
| Component: | GUI - Chat window | Version: | 2.0-beta1 |
| Keywords: | Cc: |
Description (last modified by fontknocker) (diff)
At the moment, the chat logs (XML, HTML or text) are saved when the chat closes. If the computer hangs, the X server crashes, or KMess hangs or crashes, all current chat logs are lost.
KMess should add new messages to the log files as they arrive. At least it should do it for the more important XML logs.
This would bring the following consequences:
- the chat logs will always be up-to-date (no data loss),
- there will be no delay when closing a chat tab
As a very little downside, we'll have to keep the file fully readable at any moment (ie we'd have to remove the footer, add the new message then add the footer again).
An (worst) alternative could be to save every 30s or so.
Change History
Note: See
TracTickets for help on using
tickets.
