Command
sv_logbans
<0 / 1>Explore usage, syntax, and examples for the sv_logbans CS2 developer console command.
sv_logbans
CS2 and CSGOsv_logbans
<0 / 1>Enable this command to log all server bans in the server log. By default, ban logging is off.
Set to 0 to disable ban logging (default). Set to 1 to enable logging of bans in the server log.
No
Client
Server
0
sv_logbans Generator
sv_logbans
<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_logbans Examples
sv_logbans
0
Default setting: bans are not recorded in the server log.
sv_logbans
1
Enable ban logging to record all bans in the server log.