Timestamps in logs

Report and discuss bugs in JK2MV here or suggest changes.
Post Reply
KingYodah
Posts: 15
Joined: 05 Mar 2017, 21:06

Timestamps in logs

Post 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
User avatar
fau
Staff
Posts: 433
Joined: 16 Aug 2015, 01:01
Location: Warsaw / Poland
Contact:

Re: Timestamps in logs

Post 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.
KingYodah
Posts: 15
Joined: 05 Mar 2017, 21:06

Re: Timestamps in logs

Post 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?
User avatar
fau
Staff
Posts: 433
Joined: 16 Aug 2015, 01:01
Location: Warsaw / Poland
Contact:

Re: Timestamps in logs

Post by fau »

Done in JK2MV 1.4
It's enabled by default, you can disable them with com_timestamps 0.
KingYodah
Posts: 15
Joined: 05 Mar 2017, 21:06

Re: Timestamps in logs

Post by KingYodah »

Sounds sweet, thank you
Post Reply
Created by Matti from StylesFactory.pl and Warlords of Draenor (modified by jk2.info)
Powered by phpBB® Forum Software © phpBB Limited