The current log format isn't particularly machine-readable... we need something which:
- Can be quickly read and written
- Can be easily searched, most likely leveraging Spotlight
- Can by easily indexed by Spotlight
- Can be parsed into message history
Note that the above requirements mean we will most likely want to continue support for the old log format and message history for 10.3.
See: XMLLogFormat for the new format we are going along with.
The requests from other logging tickets are condensed below so that we can find everything in one place:
"Save as support for exporting a log" (#7)
"Problem: Encrypted chats are apparently being logged in cleartext. Seems to me that people who care enough to encrypt chats would probably not want their conversations logged in cleartext. Perhaps there could be an option (enabled by default) to not log encrypted conversations?" (#94)
~"When searching for more than one word in the Adium log viewer, there is no way to search for the words as a phrase. As a result, searching for, for instance, "to you" (with or without quotes) will bring up any log that contains those two words whether or not they are next to each other. Having the log viewer consider words in quotes as phrases to search for, as in online search engines, would be preferable. I've tested this in Adium 0.81 under 10.4.1." (#265)~
~"When searching in history, if I use any accented character in the search field, I get lots of results which don't contain the search string, whereas it seems ok if not using accented characters." (#1167)~
~"It seems that Adium does not respect metacontacts when displaying message history in new chat windows, or while browsing old chat logs. If metacontacts were grouped in the log browser, and message history was taken from the last conversation had (under any account) with a given metacontact, it would make both much more useful." (#1224)~
~See #812 as well, too large to paste in here~
"Delete all should only delete logged in acccounts' logs, to allow for multiple users better" #297
#542
'Printing support' #13
'Sort by log file size' #522