[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Log timestamp error
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Log timestamp error

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


Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Nick Gammon   Australia  (21,381 posts)  [Biography] 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
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] 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!
[Go to top] 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.


4,275 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]