MantisBT - Zandronum
View Issue Details
0001375Zandronum[All Projects] Bugpublic2013-06-23 12:062018-09-30 22:13
Dusk 
Dusk 
normalminoralways
closedfixed 
1.0 
3.03.0 
0001375: Multiple timestamps in one logfile line
Quote

[14:43:55] <AlienOverlord> I remember Zandronum's log thing
[14:44:03] <AlienOverlord> Puts time and date
[14:44:05] <AlienOverlord> On every printf
[14:44:14] <AlienOverlord> Including cases when you printf few times on same line
[14:44:24] <AlienOverlord> Is it still like that?
[14:44:27] <AlienOverlord> Or fixed in 1.1
[...]
[14:56:21] <@Dusk> AlienOverlord, never heard of that
[14:56:42] <AlienOverlord> Well I remember logging stuff
[14:56:50] <AlienOverlord> And it looked like this
[14:56:55] <AlienOverlord> (on single line)
[14:57:10] <AlienOverlord> [14:56:00 23.06.2013] Loading stuff... [14:56:00 23.06.2013]success.
[14:57:29] <AlienOverlord> In client
[14:58:14] <@Dusk> i'll look at it in a bit
[14:59:24] <@Dusk> in a bit meaning whenever this compiles..
[15:05:43] <@Dusk> ok yeah it still happens in 1.1
CCMD( logfiletest )
{
        Printf( "This... ");
        Printf( "is a test.\n" );
}
[15:05:27] This... [15:05:27] is a test.
No tags attached.
Issue History
2013-06-23 12:06cobaltNew Issue
2013-06-23 12:07DuskReportercobalt => Dusk
2013-06-23 12:07DuskStatusnew => confirmed
2013-06-23 12:09DuskSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3570#r3570
2013-06-23 12:09DuskSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3571#r3571
2013-06-23 12:09DuskSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3572#r3572
2013-06-23 12:12DuskDescription Updatedbug_revision_view_page.php?rev_id=3574#r3574
2015-10-30 23:42DuskAssigned To => Dusk
2015-10-30 23:42DuskStatusconfirmed => assigned
2015-10-31 00:10DuskNote Added: 0013713
2015-10-31 00:10DuskStatusassigned => needs review
2015-11-01 10:59cobaltStatusneeds review => needs testing
2015-11-01 10:59cobaltTarget Version => 3.0
2015-11-01 10:59cobaltDescription Updatedbug_revision_view_page.php?rev_id=8182#r8182
2015-11-01 10:59cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8183#r8183
2015-11-01 10:59cobaltNote Added: 0013715
2015-12-21 03:03Ru5tK1ngNote Added: 0014006
2015-12-21 03:04Ru5tK1ngStatusneeds testing => feedback
2015-12-21 03:04Ru5tK1ngDescription Updatedbug_revision_view_page.php?rev_id=8330#r8330
2015-12-21 03:04Ru5tK1ngSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8331#r8331
2016-01-02 14:06DuskNote Added: 0014036
2016-01-02 14:06DuskStatusfeedback => assigned
2016-01-02 14:06DuskStatusassigned => feedback
2016-01-09 01:25WaTaKiDNote Added: 0014064
2016-01-09 03:30DuskNote Added: 0014065
2016-01-09 03:30DuskStatusfeedback => assigned
2016-01-09 03:30DuskStatusassigned => resolved
2016-01-09 03:30DuskFixed in Version => 3.0
2016-01-09 03:30DuskResolutionopen => fixed
2018-09-30 22:13Blzut3Statusresolved => closed

Notes
(0013713)
Dusk   
2015-10-31 00:10   
'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/36 [^]'
(0013715)
cobalt   
2015-11-01 10:59   
Issue addressed by commit f37474f77d6f: Fixed: logfiles would not get timestamped properly for Printf() calls not writing a single full line (fixes 1375)
Committed by Teemu Piippo [Dusk] on Saturday 31 October 2015 02:51:06

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/c_console.cpp | 28 ++++++++++++++++++++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

(0014006)
Ru5tK1ng   
2015-12-21 03:03   
I got Alien to confirm that the printf command doesn't display multiple timestamps with that fix. However, Watakid pointed out that there are other commands that cause multiple timestamps.

'http://pastebin.com/S0NYpK0d [^]'

This is only a few out of a possible many commands.
(0014036)
Dusk   
2016-01-02 14:06   
I cannot find multiple timestamps in one line in the logfile using any of these methods. Does the fix work or does it not?
(0014064)
WaTaKiD   
2016-01-09 01:25   
my apologies for not testing this properly as it appears these extra time stamps show up in the windows server console, and not in the logfile

windows server console:'http://pastebin.com/TPfjceEd [^]'
logfile:'http://pastebin.com/3mE59yFV [^]'
(0014065)
Dusk   
2016-01-09 03:30   
That's beyond the scope of this ticket. This is about logfiles, not the server console. So I'm supposing that this is fixed, then.