CS2 & CS:GO sv_logfile Command

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

This command sets whether or not server information should be logged in the log file. Default is 1 (enabled). Setting this to 0 will disable server information being logged.

Argument Information

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

Set this to 0 to use multiple log files. Set this to 1 to use just one log file for everything.

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_logfile <0 / 1>
0/1 arguments filled
0 / 1

sv_logfile Examples

sv_logfile 0

This is the default setting. This makes the game/server use multiple categorised log files.

sv_logfile 1

This makes the server use one log file for everything.