Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001375Zandronum[All Projects] Bugpublic2013-06-23 12:062018-09-30 22:13
ReporterDusk 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.0 
Target Version3.0Fixed in Version3.0 
Summary0001375: Multiple timestamps in one logfile line
Description
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
Steps To Reproduce
CCMD( logfiletest )
{
        Printf( "This... ");
        Printf( "is a test.\n" );
}
[15:05:27] This... [15:05:27] is a test.
Attached Files

- Relationships

-  Notes
User avatar (0013713)
Dusk (developer)
2015-10-31 00:10

'https://bitbucket.org/Torr_Samaho/zandronum/pull-requests/36 [^]'
User avatar (0013715)
cobalt (updater)
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(-)

User avatar (0014006)
Ru5tK1ng (updater)
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.
User avatar (0014036)
Dusk (developer)
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?
User avatar (0014064)
WaTaKiD (updater)
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 [^]'
User avatar (0014065)
Dusk (developer)
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.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2013-06-23 12:06 cobalt New Issue
2013-06-23 12:07 Dusk Reporter cobalt => Dusk
2013-06-23 12:07 Dusk Status new => confirmed
2013-06-23 12:09 Dusk Steps to Reproduce Updated View Revisions
2013-06-23 12:09 Dusk Steps to Reproduce Updated View Revisions
2013-06-23 12:09 Dusk Steps to Reproduce Updated View Revisions
2013-06-23 12:12 Dusk Description Updated View Revisions
2015-10-30 23:42 Dusk Assigned To => Dusk
2015-10-30 23:42 Dusk Status confirmed => assigned
2015-10-31 00:10 Dusk Note Added: 0013713
2015-10-31 00:10 Dusk Status assigned => needs review
2015-11-01 10:59 cobalt Status needs review => needs testing
2015-11-01 10:59 cobalt Target Version => 3.0
2015-11-01 10:59 cobalt Description Updated View Revisions
2015-11-01 10:59 cobalt Steps to Reproduce Updated View Revisions
2015-11-01 10:59 cobalt Note Added: 0013715
2015-12-21 03:03 Ru5tK1ng Note Added: 0014006
2015-12-21 03:04 Ru5tK1ng Status needs testing => feedback
2015-12-21 03:04 Ru5tK1ng Description Updated View Revisions
2015-12-21 03:04 Ru5tK1ng Steps to Reproduce Updated View Revisions
2016-01-02 14:06 Dusk Note Added: 0014036
2016-01-02 14:06 Dusk Status feedback => assigned
2016-01-02 14:06 Dusk Status assigned => feedback
2016-01-09 01:25 WaTaKiD Note Added: 0014064
2016-01-09 03:30 Dusk Note Added: 0014065
2016-01-09 03:30 Dusk Status feedback => assigned
2016-01-09 03:30 Dusk Status assigned => resolved
2016-01-09 03:30 Dusk Fixed in Version => 3.0
2016-01-09 03:30 Dusk Resolution open => fixed
2018-09-30 22:13 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker