Skip to content
/SLASHPLAY

How to send server logs to a URL in CS2

Type logaddress_add_http "https://example.com/cs2/logs" in the server console and the server POSTs its logs to that address.

logaddress_add_http

Sends server logs to a web address by HTTP POST.

logaddress_add_http "<url>"

Examples

logaddress_add_http "https://example.com/cs2/logs"

Stream logs to a web service.

Arguments

urlRequired
Address that receives the logs, in double quotes.

What it does

The usual way to feed match logs to a stats tool, bot or tournament system. Wrap the URL in double quotes.

The game's own description: Set URI of a listener to receive logs via http post. Wrap URI in double quotes.

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 game/csgo/cfg/server.cfg. New to this? Start a CS2 server first.

Your own
CS2 server.

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