David Icke Posted April 12, 2002 Share Posted April 12, 2002 Hi Forum Ive setup a dedicated linux server and everything is working fine, I now want to start logging statistics, Ive downloaded a nice looking program for this task from someone on this board. My question is how do I make jk2ded log to a file? right now it just dumps everything to the screen. Ive tried ./jk2ded +exec server.cfg > jedi.log but still dumps everything to the screen help apreciated thanx Link to comment Share on other sites More sharing options...
crazy_elmo Posted April 12, 2002 Share Posted April 12, 2002 Originally posted by David Icke Hi Forum Ive setup a dedicated linux server and everything is working fine, I now want to start logging statistics, Ive downloaded a nice looking program for this task from someone on this board. My question is how do I make jk2ded log to a file? right now it just dumps everything to the screen. Ive tried ./jk2ded +exec server.cfg > jedi.log but still dumps everything to the screen help apreciated thanx By default JK2 is keeping logfiles, these logfiles are usualy found in the /home/????/.jkii/base/ directory, my file was called game.log, but it could be named something else. Link to comment Share on other sites More sharing options...
duder Posted April 12, 2002 Share Posted April 12, 2002 Are you wearing purple David? Link to comment Share on other sites More sharing options...
David Icke Posted April 12, 2002 Author Share Posted April 12, 2002 Turqoise my friend Link to comment Share on other sites More sharing options...
duder Posted April 12, 2002 Share Posted April 12, 2002 Originally posted by David Icke Turqoise my friend The true colour of space. Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 12, 2002 Share Posted April 12, 2002 The various log-related cvars are: g_log "filename" // name of log file g_logfile "2" // 0 = no log, 1 = buffered, 2 = continuous, 3 = append g_logSync "1" // 1 = write complete lines g_statlog "1" // 0 = no log, 1 = produce log (could be like logfile, haven't played with it) g_statLogFile "filename" // name of stats log file NOTE: with g_statlog = 1, some end of round statistics are written to the g_log file. The more detailed info is stored in the statlog. Link to comment Share on other sites More sharing options...
rivmin Posted April 12, 2002 Share Posted April 12, 2002 Originally posted by MatrixCPA g_statlog "1" .. with g_statlog = 1... Was just wondering...what is most 'correct'...are both usable ? 1: seta g_statlog "1" 2: seta g_statlog 1 Does it depend on the OS used ? Link to comment Share on other sites More sharing options...
MatrixCPA Posted April 13, 2002 Share Posted April 13, 2002 what you would include in the config could be: seta g_statlog 1 -or- seta g_statlog "1" I believe that quotes only make a difference when the setting is text (or it could be text that contains a space). I just enclose everything in quotes for consistency. When I was describing g_statlog = 1, that's not how you put it in the config...I was just illustrating was the value meant. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.