If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Use SQLite to save history/logs

RESOLVED WONTFIX

Status

Chat Core
General
RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: Instantbot, Unassigned)

Tracking

trunk
x86
Windows 7

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
*** Original post on bio 1144 by Karel Jára <jara.karel AT gmail.com> at 2011-11-05 10:16:00 UTC ***

I don't know if this should go under bug 953505 (bio 54) but I rather report a new bug.

The thing is that the structure of logs how it looks now is really horrible from the perspective of a developer, if I am able to say something to that. Logs in hundreds of TXTs?

The solution would, in my opinion, be to store history in one single SQLite files, as it is actually e.g. in Firefox.
*** Original post on bio 1144 at 2011-11-05 11:44:27 UTC ***

(In reply to comment #0)

> The thing is that the structure of logs how it looks now is really horrible
> from the perspective of a developer, if I am able to say something to that.
> Logs in hundreds of TXTs?

This is a legacy of libpurple and we indeed want to replace the logs as soon as possible with a lossless format that allows to recreate complete conversations (as you see them during chat).
We already moved the logging framework to our code and need to change the actual logger to use a different format.
*** Original post on bio 1144 at 2012-01-16 20:26:04 UTC ***

The logs are now stored in a JSON format. (Note that I'm not sure we could really save the logs into SQLite, as there's an awful lot of information when you sit in a bunch of IRC channels, etc.)  There are plans to index the JSON files for fast searching.

I'm going to resolve this as WONTFIX.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.