Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Poromenos
Greece (1,037 posts) bio
|
| Date |
Mon 21 Jun 2004 08:25 PM (UTC) [ quote
] |
| 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) [ quote
] |
| Message |
| Bump! :p |
Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it! | top |
|
| Posted by |
David Haley
USA (3,881 posts) bio
Moderator |
| Date |
Reply #2 on Wed 23 Jun 2004 05:13 PM (UTC) [ quote
] |
| 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) [ quote
] |
| 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
Moderator |
| Date |
Reply #4 on Thu 24 Jun 2004 12:05 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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 (18,770 posts) bio
Forum Administrator |
| Date |
Reply #6 on Thu 24 Jun 2004 10:11 PM (UTC) [ quote
] 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) [ quote
] 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) [ quote
] |
| 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.
1,492 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )