PDA

View Full Version : Not logging


JaMie
01-29-2004, 09:05 AM
i cant get my server to log data to the games_mp.log

i added tthese 2 lines to the config file:

set g_logsync "2"
set g_log "games_mp.log"

but nothing gets logged, any ideas?

imported_Sac
01-29-2004, 11:44 AM
I guess you have logging enabled with set logfile "1, 2 or 3".

Does your server run on Linux? If it does do you have an fs_homepath set? If that isn't set or you don't know have you tried looking for a hidden .callofduty folder?

JaMie
01-29-2004, 04:20 PM
yeah i have SW accessing the log file in /.callofduty/main/games_mp.log and the file does log data but SW isnt seeing it. im not really sure if its the full path. its a jolt server if that helps

jdwright
01-29-2004, 04:45 PM
There are only two options for g_logsync.

g_logsync 0 - buffered writes
1 - write immediately


From: http://www.infinityward.com/cod/server%20commands.html

That may be your problem. :wink:

JaMie
01-29-2004, 04:47 PM
nope i already tried setting it to 1, it aint that.

thanks anyways

jdwright
01-29-2004, 04:55 PM
Another problem may be your file path. If you literally used
/.callofduty/main/games_mp.log thats saying that .callofduty is under the root directory.

You may want to try
~/.callofduty/main/games_mp.log
or
/home/username/.callofduty/main/games_mp.log
as your path for SW.

JaMie
01-29-2004, 05:07 PM
got it working using the ~ in front thanks alot, i can see chat and stuff in the logfile tab but another problem is the user chat file i the logs folder doesnt seem to update.

i have it checked to log chat. :?