CS2 & CS:GO sv_logflush Command

CS:GO & CS2 Compatible
sv_logflush <0 / 1>

This command sets whether or not the log file should be flushed/saved to the disk whenever something is logged. By default this is disabled, meaning the log file is flushed/saved at intervals, as opposed to whenever a new line is added. If you enable this setting, it may cause lag.

Argument Information

The syntax for this command is as follows:
Name Description
0 / 1

Set this to 0 for default log file saving behaviour. Set this to 1 to save the log file to disk whenever a change is made (slow/laggy).

Extra Information

Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Both
Default Value
0
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

sv_logflush <0 / 1>
0/1 arguments filled
0 / 1

sv_logflush Examples

sv_logflush 0

This is the default setting for this command. Log files are saved to disk at intervals.

sv_logflush 1

This makes log files be saved every time a change is made.