Page 1 of 1

Timestamps in logs

Posted: 14 Nov 2017, 20:37
by KingYodah
Hoi hoi, everyone must have experienced some kind of drama in JK2, and I was wondering, has JK2MV some kind of serverside cvar for console which would enable attaching a time stamp to whatever is happening on server? Or if it doesn't have, is it possible to make such cvar? The logs would look like e.g. "Padawan connected: 2017-11-14 10:00 UTC" or "Padawan 1 typekilled Padawan 2: 2017-11-14 10:00 UTC" etc, simply important lines would have its time stamp. For the purpose of easier checking of what happened when among the millions of log file lines, so when it comes to a drama and someone says they were e.g. harassed yesterday evening, you check out things easier. The jk2mv clientside cvar "con_timestamps" doesn't seem to work for the server console for us.
~cheers

Re: Timestamps in logs

Posted: 14 Nov 2017, 23:17
by fau
This is something that generally should be done by a serverside mod (like sabermod), although technically it's possible to have something like con_timestamps for qconsole.log. There isn't anything like it right now though.

Re: Timestamps in logs

Posted: 16 Nov 2017, 17:05
by KingYodah
fau wrote: 14 Nov 2017, 23:17 This is something that generally should be done by a serverside mod (like sabermod), although technically it's possible to have something like con_timestamps for qconsole.log. There isn't anything like it right now though.
Is that feature planned though?

Re: Timestamps in logs

Posted: 20 Jan 2018, 22:31
by fau
Done in JK2MV 1.4
It's enabled by default, you can disable them with com_timestamps 0.

Re: Timestamps in logs

Posted: 21 Jan 2018, 13:58
by KingYodah
Sounds sweet, thank you