Lost logs?

Posted by Zeno on Thu 06 Sep 2007 11:04 PM — 9 posts, 23,100 views.

USA #0
I've had MUSHclient open since:
Quote:
--- Connected on Sunday, September 02, 2007, 7:33 PM ---


For a certain world that's always been open since then, I've had logging on (I always do). But I'm missing logs, and I really need them.

Auto logs to this file:
Quote:
C:\Program Files\MUSHclient\logs\BIYG-%m-%d-%Y.txt


And I have this timer active:
Quote:
Note ("Starting new log file.")
CloseLog()
OpenLog ('BIYG-'..os.date("%m")..'-'..os.date("%d")..'-'..os.date("%Y")..'.txt', false)


The log file from today (the 6th) starts off and looks like this:
Quote:

BIYG - Thursday, September 06, 2007, 10:51 AM
---------------------------------------------


BIYG - Thursday, September 06, 2007, 10:51 AM
---------------------------------------------


I'm missing logs since 12:00am... Any idea what happened? I really need these logs. I haven't even been home, so it's not like I closed/disabled the logs.
Australia Forum Administrator #1
Is the disk full?
USA #2
Nope, 241GB free.

If I wasn't clear, I meant that the log is fine after this:
Quote:
BIYG - Thursday, September 06, 2007, 10:51 AM
---------------------------------------------


BIYG - Thursday, September 06, 2007, 10:51 AM
---------------------------------------------

All the data is there. But I'm missing everything before that.

I just got:
Quote:
Starting new log file.

So the timer ran. But I can't find the new log file (for the 7th)...

Where does OpenLog save to?
Amended on Fri 07 Sep 2007 04:05 AM by Zeno
Australia Forum Administrator #3
It doesn't prepend any path in particular, so if a plugin changed the current directory, I would look into directories that might have been the new directory.

You should probably use GetInfo to make a specific path, rather than relying on the current directory, which you are currently doing.
USA #4
New log for today:
Quote:
Starting new log file. CloseLog status:
0
OpenLog status:
0


I still can't find where the logs are going. Before I change it over using GetInfo, I need to find where they are going. Is there a function I can call to show me where OpenLog is writing to?
Australia Forum Administrator #5
Try:


/print (GetInfo (64))


Since they are going into the current directory, use GetInfo (64) to find out what that is.
USA #6
lol.
Quote:
C:\Documents and Settings\Ty\Start Menu\Programs\MUSHclient


Thanks, they're all there.
Australia Forum Administrator #7
Quote:

Connected on Sunday, September 02, 2007


It is somewhat gratifying that MUSHclient stays running for a week at a time without crashing. :)
USA #8
That's nothing. :) I normally have it running for months. The only time it closes is when I have to restart the computer, which is only when I need to install something new.