Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Official Feature Votes => Topic started by: SpeedUSA on September 15, 2011, 05:41:47 PM

Title: Request: Year/month/day in each log line
Post by: SpeedUSA on September 15, 2011, 05:41:47 PM
Right now, the logs record the date only at midnight:

[********] Date: 2011-09-15

And each line now includes only the hour/minute/second:

[18:12:15] == Map Loaded: mystique ==

I propose that each line also include year/month/day:

[2011:09:15:18:12:15] == Map Loaded: mystique ==

This would allow better analysis of server use. I'm using SQL queries to ID popular maps, high-use times, frequent users, etc.

Thanks!

LongShot
Title: Re: Request: Year/month/day in each log line
Post by: jitspoe on February 15, 2012, 03:15:36 PM
Sorry for the late response.  Added this to the feature vote list: http://dplogin.com/dplogin/featurevote/feature.php?id=10288
Title: Re: Request: Year/month/day in each log line
Post by: xrichardx on May 23, 2015, 02:11:12 PM
Done, I uploaded the modified common.c to the repository.

cvar: timestamp_date - if set to 1, the timestamp format will be [YY-MM-DD HH:MM:SS]
Title: Re: Request: Year/month/day in each log line
Post by: jitspoe on July 22, 2015, 11:40:28 PM
Thanks again for your contributions.  This should be available for use soon.