bmac Posted January 17, 2007 Share Posted January 17, 2007 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 Quote Link to comment Share on other sites More sharing options...
RodeoBob Posted January 17, 2007 Share Posted January 17, 2007 That text is stored in the Console log. On my server, this log is stored in my fs_game folder. Quote Link to comment Share on other sites More sharing options...
DS-Dennis Posted January 18, 2007 Share Posted January 18, 2007 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). Quote Link to comment Share on other sites More sharing options...
Raistlin Posted January 18, 2007 Share Posted January 18, 2007 (edited) 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 January 18, 2007 by Raistlin Quote Link to comment Share on other sites More sharing options...
RocknRoll Posted March 19, 2007 Share Posted March 19, 2007 (edited) 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 March 19, 2007 by =GG= RocknRoll Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.