Aslan
01/23/01, 01:54 pm
Alright, the new Q3 logging is driving me crazy on my linux Q3 server.
I have played with the following (which I have not found a full and accurate explaination of anywhere so far):
seta g_log "test.log"
seta g_logSync "1"
seta logfile "3"
I have played with various combinations and the results are frustratingly weird.
Here are my observations so far:
logfile - works somewhat like the old quake/quake2 logfile command in that it creates a file called qconsole.log. However the silly game creates it under the .q3a directory instead of where you would expect: the baseq3 dir. It also screws up logging of multiple games using the baseq3 dll.
g_log - supposed to let you define a filename that logging will subsequently go to. I have only gotten this to work if I manually create the file first, then Q3 will fill it. And I cannot get this to work every time.
g_logsync - I have no idea what this is really supposed to do.
games.log - I get one of these even if I turn off all three of the log commands. It seems to only record the server config loaded at each map change.
BTW, I have emptied out my q3config.cfg file in .q3a and changed it to read only to prevent that q3config from overwriting my variable declarations in my server config file (which is executed via command line).
Would someone PLEASE explain the proper implementation of logging under Linux Q3A and point me in the direction of a good log file parser?
Also - is there any way to turn off logging of item pickups? That makes one evening's log file grow to several MB and I could not care less who is picking up what. BTW, this also applies to looking at the console screen - those damn item pickups make it hard to follow text from player's say commands in real time. It is almost impossible to talk to a player real time from the console because of the item pickups.
Thanks,
Aslan
I have played with the following (which I have not found a full and accurate explaination of anywhere so far):
seta g_log "test.log"
seta g_logSync "1"
seta logfile "3"
I have played with various combinations and the results are frustratingly weird.
Here are my observations so far:
logfile - works somewhat like the old quake/quake2 logfile command in that it creates a file called qconsole.log. However the silly game creates it under the .q3a directory instead of where you would expect: the baseq3 dir. It also screws up logging of multiple games using the baseq3 dll.
g_log - supposed to let you define a filename that logging will subsequently go to. I have only gotten this to work if I manually create the file first, then Q3 will fill it. And I cannot get this to work every time.
g_logsync - I have no idea what this is really supposed to do.
games.log - I get one of these even if I turn off all three of the log commands. It seems to only record the server config loaded at each map change.
BTW, I have emptied out my q3config.cfg file in .q3a and changed it to read only to prevent that q3config from overwriting my variable declarations in my server config file (which is executed via command line).
Would someone PLEASE explain the proper implementation of logging under Linux Q3A and point me in the direction of a good log file parser?
Also - is there any way to turn off logging of item pickups? That makes one evening's log file grow to several MB and I could not care less who is picking up what. BTW, this also applies to looking at the console screen - those damn item pickups make it hard to follow text from player's say commands in real time. It is almost impossible to talk to a player real time from the console because of the item pickups.
Thanks,
Aslan