[0.13] Add [CHAT] infront of the playername in the log file

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
NoPantsMcDance
Filter Inserter
Filter Inserter
Posts: 478
Joined: Fri Jul 17, 2015 6:56 pm
Contact:

[0.13] Add [CHAT] infront of the playername in the log file

Post by NoPantsMcDance »

@OxyD please add [CHAT] before any chat in the log file thanks <3
Last edited by ssilk on Tue Jun 28, 2016 7:13 pm, edited 1 time in total.
Reason: Added 0.13 tag to get better overview in suggestions
Looking for a multiplayer server? Check out my servers Vanilla Server

Bisa
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jul 17, 2015 3:22 pm
Contact:

Re: Add [CHAT] infront of the playername in the log file

Post by Bisa »

adding to this, it would be super helpful to also post a utc time stamp on the same line so we know when this happened without having to calculate game tics since start ;)
Hosting a factorio server? Take a look at this || init script ||.

Kovus
Inserter
Inserter
Posts: 23
Joined: Sat Feb 27, 2016 5:25 pm
Contact:

Re: Add [CHAT] infront of the playername in the log file

Post by Kovus »

I second this, but I'd like for it to be taken a step further, and have it include timestamps like the rest of the server output:

Something like this:
mm:ss [CHAT] username: message message message ipsum something blah.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Add [CHAT] infront of the playername in the log file

Post by ssilk »

Phantastic idea! (hehe I read the chat guys)

A good question here is also if everything should be logged. Levels of logging, if you know what I mean.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.13] Add [CHAT] infront of the playername in the log file

Post by Oxyd »

Alright, implemented. I also added other message tags like [KICK], [BAN] or [COMMAND], because why not.

The output now looks like this:

Code: Select all

2016-07-21 15:05:38 [CHAT] Oxyd: Hi
2016-07-21 15:05:49 [KICK] Oxyd was kicked by Oxyd. Reason: unspecified.
2016-07-21 15:07:02 [DEMOTE] Foo failed to demote player Oxyd (not an admin).
2016-07-21 15:07:10 [PROMOTE] Foo was promoted to admin by Oxyd.
2016-07-21 15:07:14 [BAN] Foo was banned by Oxyd. Reason: unspecified.

Bisa
Filter Inserter
Filter Inserter
Posts: 450
Joined: Fri Jul 17, 2015 3:22 pm
Contact:

Re: [0.13] Add [CHAT] infront of the playername in the log file

Post by Bisa »

thumbs up
Hosting a factorio server? Take a look at this || init script ||.

Post Reply

Return to “Implemented Suggestions”