Jump to content

Home

Creating a Logfile on the Linux Dedicated Server


{RH} Dust

Recommended Posts

I need help creating JK2 log files from a Linux Dedicated server.

For some reason it is not creating the files even though I have set the commands in the .cfg files. Here is what I have included in the .cfg file:

 

seta g_logfile 2

seta g_log "game.log"

seta g_statlog 1

seta g_statlogfile "stats.log"

seta g_logsync 1

 

and here is the command i use to start up the server

 

 

nohup iojob ./jk2ded +exec server.cfg &

 

all nohup and & does is sets the server into the background so that when i log out of the linux server (i'm doing this remotely) the jk2 server won't quit.

 

and iojob just gives connecting clients resource priority since there's alot of different people connecting and exiting.

 

 

any help would be appreciated....thx!

 

btw: if you want to play on a sabers/no force server..join Red Hand's server at: 128.208.37.90:28070

 

 

{RH} Dust

Link to comment
Share on other sites

Look for a directory named ".jkii" under the home directory of the user account that runs your server. Log files are going in there (down a couple levels).

 

The ".jkii" is from memory - it's definately ".jk*".

 

Bonus points:

 

nohup blah.sh -blah +blah > /bleh/bleh/.../game.log 2>&1 &

 

Where the blahs are your command line, and the blehs the directory you chose.

 

This should redirect standard out & standard error (&1 and 2) to game.log (in whatever directory), rather than nohup.out.

 

-Jeff

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...