log Command


log [On/Off]

Using this command begins logging server data to your file and your console.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

On/OffEnter the word on after the command to start logging, and off after the command to end logging.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both

log Examples


Find below working examples of this command (copy and paste into console).


log on

Begins logging.


log off

Finishes logging and closes the file.