mIRC Home    About    Download    Register    News    Help

Print Thread
#73840 05/03/04 10:24 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline OP
Hoopy frood
OP Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
  • 42.Added reload logs feature to logs dialog, works with channel and
        chat windows. Loads up to the maximum window buffer value
        specified in the options/other dialog.



I think this is a good feature, but I feel the amount of lines loaded should be settable. Also if more than one log is loaded into the window it should tell you so and the newfile points.

#73841 05/03/04 10:36 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
This feature is also -extremely- slow if there are many logs in the directory.

I haven't spied on what mIRC is doing exactly, but I suspect it's enumerating all the files in the directory and parsing the dates for the latest one. Right now I have 2200 logs in my main log folder, so mIRC freezes for about 5 seconds after I join a channel or open a query. I would suggest that mIRC try making blind attempts at finding the most recent log, by checking for today's log and then yesterday's log before resorting to a full directory search.

I think mIRC should also display the date or week or month information (if logging by date/week/month) of the log being displayed. This can either be gathered from the filename or from the Session information present at the first or last line of the file.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#73842 05/03/04 10:38 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline OP
Hoopy frood
OP Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Time to clean out your log dir maybe? grin

#73843 07/03/04 04:45 AM
Joined: Oct 2003
Posts: 101
Vogon poet
Offline
Vogon poet
Joined: Oct 2003
Posts: 101
I have always had a scripted feature that showed the last 10 lines from the current day's log if it exists. It works very similarly in functionality, but doesnt have to enumerate any kind of list because it only works with the current day.

P.S. I was about to post the script and decided against it because of how horribly ugly it was. I wrote it long ago :P


Link Copied to Clipboard