sv_logflush Command

Explore usage, syntax, and examples for the sv_logflush CS2 developer console command.

sv_logflush

CS2 and CSGO

Command

sv_logflush

<0 / 1>

Controls if the log file is saved to disk immediately whenever a new entry is logged. By default, the log file saves periodically to reduce lag. Enabling this can cause performance issues.

<0 / 1>

Set to 0 for default behavior (save logs periodically). Set to 1 to save logs to disk instantly after each change (may cause lag).

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

sv_logflush Generator

Command

sv_logflush

<0 / 1>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

sv_logflush Examples

Command

sv_logflush

0

Default setting where the log file saves at regular intervals, reducing lag.

Command

sv_logflush

1

Enables saving the log file after every new entry, which can slow down performance.