jk2eservers Posted April 29, 2002 Share Posted April 29, 2002 How does one enable Jk2 to log stats for the Logparser, in Linux? -r00t3d Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 29, 2002 Share Posted April 29, 2002 Have the following in your server.cfg: seta g_logfile "2" seta g_log "jedi.log" Remember that the location of the log file will be ~/.jkii/base/jedi.log Link to comment Share on other sites More sharing options...
darth-suicide Posted May 1, 2002 Share Posted May 1, 2002 Hi, I cannot get my linux server to produce a log file of anykind. I have tried adding the lines mentioned in this thread as well as trying the following lines, but no dice. Any help would be apreciated. seta g_log "games.log" seta g_statLog "0" or "1" Thanks: Link to comment Share on other sites More sharing options...
jk2eservers Posted May 1, 2002 Author Share Posted May 1, 2002 Originally posted by MatrixCPA Remember that the location of the log file will be ~/.jkii/base/jedi.log darth, have you checked that location, as thats where I found my logs.... -r00t3d Link to comment Share on other sites More sharing options...
MatrixCPA Posted May 1, 2002 Share Posted May 1, 2002 For those who may be unfamiliar with the notation, ~/ is the current user's home directory. So, if your user name is jk2server then the files would be in /home/jk2server/.jkii/base/ Remember that any directory or file that starts with . is hidden. Another thing I noticed is that you didn't specify what you have g_logfile set to be. It needs to be something other than 0. I prefer to use 2 myself. As an additional note, you can produce a separate, more player/weapon driven stat log by adding: seta g_statLog "2" seta g_statLogFile "stats.log" The file will be located in the same place as the more general log. This log provides results on a round played basis. I'm not currently aware of any log parser that analyzes it and I have noticed a few small "inconsistencies" in how it accumulates stats. So, it's bugged like some other things are, but it's still interesting stuff. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.