MantisBT - Doomseeker
View Issue Details
0001747Doomseeker[All Projects] Suggestionpublic2014-03-12 06:282018-09-29 14:43
Zalewa 
Zalewa 
normalminorhave not tried
closedfixed 
 
1.0 
0001747: IRC chat logs
Chat logs would be saved automatically if user selects appropriate option and restored upon re-entering given channel or re-opening query window with given user.
No tags attached.
Issue History
2014-03-12 06:28ZalewaNew Issue
2014-03-12 22:08Absolute ZeroNote Added: 0008388
2014-03-12 22:37ZalewaNote Added: 0008389
2014-03-13 00:54Absolute ZeroNote Edited: 0008388bug_revision_view_page.php?bugnote_id=8388#r4578
2014-03-13 06:38ZzZomboNote Added: 0008391
2014-08-17 18:30ZalewaAssigned To => Zalewa
2014-08-17 18:30ZalewaStatusnew => assigned
2014-08-31 11:06ZalewaNote Added: 0010243
2014-11-22 21:57ZalewaNote Added: 0010934
2014-11-22 21:58ZalewaStatusassigned => feedback
2014-12-01 17:54ZalewaNote Added: 0011021
2014-12-01 17:54ZalewaStatusfeedback => assigned
2014-12-01 17:54ZalewaStatusassigned => needs testing
2014-12-03 00:15DevilHunterNote Added: 0011031
2015-03-22 20:06ZalewaStatusneeds testing => resolved
2015-03-22 20:06ZalewaFixed in Version => 1.0
2015-03-22 20:06ZalewaResolutionopen => fixed
2018-09-29 14:43WubTheCaptainStatusresolved => closed

Notes
(0008388)
Absolute Zero   
2014-03-12 22:08   
(edited on: 2014-03-13 00:54)
Supported.

If I got it correctly, Doomseeker IRC would print all previous conversation in every channel. Wouldn't it make the whole application have a few memory issues as time goes?

(0008389)
Zalewa   
2014-03-12 22:37   
Naturally, it will be done in a way that will not cause any additional problems. I imagine only a few lines from the previous conversation will be imported.
(0008391)
ZzZombo   
2014-03-13 06:38   
mIRC has a setting that specifies how many lines user wants to be copied upon re-entering a channel.
(0010243)
Zalewa   
2014-08-31 11:06   
This is partially implemented in the build currently available on the update beta channel. Doomseeker will now store and restore chat logs. Currently, 1000 last lines are restored from each log file.

Chat log file will grow indefinitely at the moment, potentially expanding into size that is not easy to parse when restoring logs. Proper system to handle this needs to be implemented.
(0010934)
Zalewa   
2014-11-22 21:57   
Chat log rotation is included in this change:
'https://bitbucket.org/Blzut3/doomseeker/commits/f105312fd6e5bb13c6d744b5ef031c53fad47d42 [^]'

Default settings are as follows:
- chat log is rotated to archive once its file size reaches 5 Megabytes. This threshold cannot be changed by the user, but might be adjusted if this results in files that are difficult to parse when restoring chat logs.
- archived chat logs can be removed from disk drive when they become old. This is disabled by default. Moreover, how many days is "old" exactly can be changed by user in IRC configuration box.

Currently, Doomseeker will restore logs to chat box only from the current log file. Archive files are omitted, and I'm inclined to leave it this way.

Request to others:
Please take a few of your biggest log files and state here their size in bytes/kilobytes/Megabytes together with number of lines inside them. I'd like to compare that to see what should be the rotation threshold.
(0011021)
Zalewa   
2014-12-01 17:54   
Update available on beta build channel and on DRD Team page. Please test.
(0011031)
DevilHunter   
2014-12-03 00:15   
So far, it works as expected. Have yet to try out the remove after so many days thing.