Skip to content
/SLASHPLAY

How to turn on logging on an L4D2 server

Type log on in the Console tab of the server page; the server writes its log to files in the logs folder.

log

Turns server logging on or off. With it on, the server logs to file, to the console and to UDP log addresses.

log <on|off>

Examples

log on

Start logging.

log off

Stop logging.

Arguments

on|offRequired
on starts logging, off stops it.

What it does

Log files go in the logs folder inside left4dead2. Turn it on when you want a record of a session.

Good to know

  • The Console tab already shows the live output while the server runs.

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 left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.