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.
 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Log timestamp error

Log timestamp error

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


Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Mon 21 Jun 2004 08:25 PM (UTC)
Message
I am timestamping my logs, and I noticed that the 3 last lines that come from the mud (when I quit) are wrongly timestamped to much later, sometimes about a minute after i press quit. It should be maybe a second later, but it's not. What's wrong?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #1 on Wed 23 Jun 2004 10:33 AM (UTC)
Message
Bump! :p

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Wed 23 Jun 2004 05:13 PM (UTC)
Message
I don't have this problem... I'm using HTML logging, are you?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Wed 23 Jun 2004 07:41 PM (UTC)
Message
No, plain text logging. I prefix every message with "[%H:%M:%S] ", and the last few lines are always written late.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #4 on Thu 24 Jun 2004 12:05 AM (UTC)
Message
Funny... I prefix with basically the same thing, " %H:%M> ", and it seems to work perfectly. I'm guessing that it doesn't appear late on your screen?

Perhaps you have a multiline trigger running that "times out" after a moment? Nick, could that be a reason for this? It would explain why the text is in limbo for a moment before being logged.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #5 on Thu 24 Jun 2004 11:02 AM (UTC)
Message
I don't think so, I don't use multiline triggers much, and this was in old logs too. It shouldn't happen, the actual line appears in after a second or so and I have found that the log timestamp could be as later as a whole minute.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,102 posts)  Bio   Forum Administrator
Date Reply #6 on Thu 24 Jun 2004 10:11 PM (UTC)

Amended on Thu 24 Jun 2004 10:12 PM (UTC) by Nick Gammon

Message
I find that very bizarre.

A quick test shows that when I use that timestamp and quit, the last few lines are written with the correct time, and the log file closed.

Are you saying the last few lines are written but it somehow makes up a time a minute or so in the future for them? Kind of hard to believe.

Are you sure your clock and the system time agree?

- Nick Gammon

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

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #7 on Fri 25 Jun 2004 10:01 AM (UTC)

Amended on Fri 25 Jun 2004 10:03 AM (UTC) by Poromenos

Message

[22:01:42] <af[IHY] hp[1351/1351] mv[216/216] wg[83/500] gol[3] usr[354/369] auc[]>
[22:01:42] As shadows dance and daggers glint, night falls and life begins...
[22:01:42] 
quit
[22:04:33] <af[IHY] hp[1351/1351] mv[216/216] wg[83/500] gol[3] usr[350/369] auc[plate platinum dragonscale breastplate]>Your surroundings begin to fade as a mystical swirling vortex of colors
[22:04:33] envelops your body... When you come to, things are not as they were.
[22:04:33] 
[22:04:33] A strange voice says, 'We await your return, Formotoni...'

My log files look like this... Hm, maybe I wasn't using the character for 3 minutes before i quit? Let me check.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #8 on Fri 25 Jun 2004 10:05 AM (UTC)
Message
Hm, yes, I might just not have been idle before I quit, and i got confused because i don't timestamp commands :/ Sorry about that.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
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.


19,459 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.