Jump to content

Home

Logging question


414Excaliber

Recommended Posts

I am running a dedicated linux server, and decided to turn on server logging and stats. The game is running from

/usr/local/games/jk2 and the config file is in the /base of the previous path. The lines I used in the server.cfg are these:

seta logfile "1"

seta g_log "duel.log"

seta g_statLog "1"

seta g_statLogFile "stats.log"

 

Now the only problem is where is it putting the log files? They are not in that base dir, and when i went to the root dir and did an ls -R looking for duel.log I couldn't find it. However, if I type

fdir *.log from the server console, it lists both of those log files as well as 2 other log files, so it would seem they do exist, but I'm not sure where. I opened up the assests pk3 files to see if maybe they ended up there, but they weren't in there either. Can anyone tell me where to look, or tell me how to alter the log file so they go where I want them to (putting the path infront of the filename also didn't work). Thanks.

Link to comment
Share on other sites

The default location for the log files, as well as the jk2mpconfig.cfg file, is ~/.jkii/base/ Additionally, if you put a path in front of the file, it will use that path inside the default location. In other words, if you put /blah/mylog.log it'll put it in ~/.jkii/base/blah/

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...