Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ More logging

More logging

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Khamura   Germany  (7 posts)  Bio
Date Sat 13 Oct 2001 11:14 AM (UTC)

Amended on Sat 13 Oct 2001 11:15 AM (UTC) by Khamura

Message
More logging related stuff, yay. ;)

See, I'm a notorious logger and thus always log via MUSHclients autolog option. Now, what happens is the following: with no apparent reason whatsoever, some of my logs miss the 'starting portion', ie, from login to some random point in mid-play or mid-chat. This is not bound to any file or log size, and appears not to be connected to the buffer size either, as I have that set to the maximum, 500K lines.

I'm using 3.17 and have the following things enabled/entered in the logging part:
Log Commands
HTML
Color
File Preamble (standard HTML file start code)
File Postamble (standard HTMl file end code)
Line Postamble (HTML linebreak)

I save my files to "C:\MUSHclient\CharacterName - %y-%m-%d-(%H-%M).html", so I have my logs in chronological order without having to enter anything manually.

Any solution to my problem? Is it once again so obvious that I'm plain overlooking it?

Jan "Khamura" Willms

"Distributing large chunks of insanity since 1981!"
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 13 Oct 2001 09:47 PM (UTC)
Message
Can you clarify whether you turn on logging at the start (ie. automatically log) or whether you log later on with the "include previous lines" option.

Nowadays the log file is periodically closed and re-opened for appending, to make sure that the log isn't lost on a machine crash. Maybe somehow it forgets to append, although why that would happen is a mystery, as it is the same code each time, and I gather it only happens sometimes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Khamura   Germany  (7 posts)  Bio
Date Reply #2 on Sat 13 Oct 2001 09:56 PM (UTC)
Message
I start logging automatically as soon as the world is open.

I have checked: For some reason this only happens to HTML files, not TXT ones. Then again, I have a HTML of about 270 KB that is perfectly okay, and another one of 260 KB that is cut off, so there's no pattern to it either. It's very weird. Thankfully these are all OOC chat logs, because I'd hate losing RP logs in this manner.

Jan "Khamura" Willms

"Distributing large chunks of insanity since 1981!"
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 13 Oct 2001 11:56 PM (UTC)
Message
I've looked at the source code and can't see what might be wrong. I don't suppose you use any scripts that might close the log file?

There is no reference to the HTML flag when it comes to closing and re-opening the log file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


16,606 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.