I have a question about the syntax for the dedicated.cfg file.
I want to write the server log file to a folder outside of the main folder, so I can share it via FTP.
My reason is so I can run Ultrastats on a remote server. I do not want to share my entire main folder, not do I want to use a script to copy the logfile at a regular interval.
This is the code that I am using to write the logfile:
Code:
//==== Log Settings ====//
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "server_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
I tried changing the g_log CVAR to logs/server_mp.log, however it would not write the logfile to the alternate location. Does anyone know what I'm doing wrong, or if I'm doing anything wrong? Thanks.