How to save server logs to files in CS:S
Type sv_logfile 1 in the server console, with log on active, so server logs are written to files in cstrike/logs.
sv_logfile
Toggles writing server logs to files on disk.
sv_logfile <0|1> Examples
sv_logfile 1 Write logs to files.
Values
| Value | What it does |
|---|---|
| 0 | Off |
| 1Default | On |
Arguments
0|1Required1turns it on,0turns it off.
What it does
Needs log on to be active.
The game's own description: Log server information in the log file.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to cstrike/cfg/server.cfg. New to this? Start a CS:S server first.
Your own
CS:S server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.