Command
sv_logfile
<0 / 1>Explore usage, syntax, and examples for the sv_logfile CS2 developer console command.
sv_logfile
CS2 and CSGOsv_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.
Set to 0 to create multiple categorized log files, or 1 to use a single log file for all server data.
No
Client
Server
0
sv_logfile Generator
sv_logfile
<0 / 1>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
sv_logfile
0
Default setting that creates separate log files for different categories.
sv_logfile
1
Use a single log file to log all server information.