sv_logfile Command

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

sv_logfile

CS2 and CSGO

Command

sv_logfile

<0 / 1>

Enable or disable logging of server information in the log file. By default, logging is enabled (1). Set to 0 to stop logging server info.

<0 / 1>

Set to 0 to create multiple categorized log files, or 1 to use a single log file for all server data.

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

sv_logfile Generator

Command

sv_logfile

<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_logfile Examples

Command

sv_logfile

0

Default setting that creates separate log files for different categories.

Command

sv_logfile

1

Use a single log file to log all server information.