Jump to content

Is there such a thing?


bmac

Recommended Posts

Hi folks,

 

Been on a few cod2 servers and have seen "no cursing we read server chat logs daily" My question is where do i find these chat logs if indeed they exsist. Looked throught all the ftp root folders and didnt come accross any logs of that type. Any input? thanks in advance.

 

 

 

 

*KTA* Bmac

Link to comment
Share on other sites

Which you can define often in your server configuration file ;)

set logfile "1" // 0=disable 1=enable

set g_logsync "1" // 0=Disabled 1=Buffered 2=Continuous 3=Append

set g_log "games_mp.log" // filename

Above is for the game Call of Duty

 

You can then use an utility to filter out system message to read only chats on that file.

An console log is always available which may be reset after an server restart. Game logs can be easily over 20+ MB.

I have had server logs from well over 150 MB (Battlefield 2142 servers) so you may want to rotate logs (using an cronjob on the server perhaps).

Link to comment
Share on other sites

Then just right a little script to read the file and grep vsay or what ever passes for chat in the log and pipe it to a seperate file :-)

Always interesting to see what people chat about while waiting for spawn, though I tend to do it more for matches when there is a dispute, though it didn't help for one.

Edited by Raistlin
Link to comment
Share on other sites

  • 2 months later...

set logfile "1" // 0=disable 1=enable

set g_logsync "1" // 0=Disabled 1=Buffered 2=Continuous 3=Append

set g_log "games_mp.log" // filename ( default = games_mp.log )

This works for the "games_mp.log" which only keeps track of the map rotation info, but what covers the "console_mp.log"? It seems to be the same info as the "svlogs" with the "chat" added. I'd like to keep it

from being overwritten on server restarts.

Edited by =GG= RocknRoll
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.