Thanks for the multiline chat.
RocketMan10404, on 30 November 2012 - 05:32 PM, said:
Ok, here's what I'm thinking... previously, there has been requests to have the chat logs split up by channel. I think making that change would be beneficial to including some past chat history in a relatively clean and resource-light way. So currently, there is a "TabbyChatLogs" folder in your ".minecraft" directory. I'll probably change the logging such that, within that folder, there is a subfolder for each server. Within those folders, a new folder for each day. Then, within that folder, the chat logs for that day will be kept. Those logs will consist of one single unified log holding all chat, and additionally another log file for each tab.
When you login to a server, TabbyChat can go looking for pre-existing and recent log files for that server, scan through the last X number of lines for each tab, and add that text (in white or gray or something) to the tab. So, perhaps it will only show the history for tabs that are created on that initial connection - the Default Channels setting plus any custom filters. That's a lot easier than trying to scan through and process a single log file for X number of messages for each of Y number of tabs.
Alternatively, I could write it so that TabbyChat attempts to find chat history for a tab whenever it's created... that might be more useful, so I could give it a shot and see if there's a significant performance issue.
Also, I could consider switching the folder paths around, so you get a new folder in "TabbyChatLogs" for each day, and then a new folder in that one for each server. That would probably make it more difficult to find chat history though.
I'd be happy to hear any thoughts or preferences anyone has on this proposal.
This would create quite a lot of files and folders.
For temporary chat history, I'd recommend having a temporary file(s) that stores the last x number of lines/tabs (as well as archiving all content to the day's log to the actual log files). Sorting the logs into server (domains might be best especially for hosts that have multiple servers with the same population that traverses said servers - i.e. minez) folder, but having files within it (without folders) for each day would be best. Servers from different domains should have separated log files since its a different group of ppl on a different domain.
Tabs (if stored separately, should have 1 folder per tab, not day - annoying to have to move between 10 different folders to check logs for 10 days).