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

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_logsdir
<Directory Name>
0/1 arguments filled
Directory Name
sv_logsdir Examples
sv_logsdir logs
This command sets the log file directory to "logs" (which is default anyway).
sv_logsdir examplelogs
This command makes all logs be saved to the directory "examplelogs".