Live 64 humans online 13 active servers Peak online today 70 Record 102

g_logSync

SoF2 CVAR Console Commands for Soldier of Fortune 2

g_logSync is a Soldier of Fortune 2 console variable (CVAR) in the Server group. Forces synchronous (immediate) writes to the game log file. Its default value is "0".

Default
0
Syntax
seta g_logSync "0"
Example
seta g_logSync "1"
Notes
1 = each log entry is flushed to disk immediately. Safer but slower than buffered writes.

How to change it

Open the console with ~ and type the command:

seta g_logSync "1"

To keep the setting, put the same line (starting with seta) in your config file, such as sof2mp.cfg in the game's base folder.