Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Use CS2 Server Logs and Console Output Deliberately

For a CS2 diagnosis, enable logging only around a reproducible event and capture the running server console. Check the current server environment for the output location and supported syntax.


For a CS2 diagnosis, enable logging only around a reproducible event and capture the running server console. In the checked CS2 command snapshot, log is described as logging to file, console, and UDP; condump writes the current console text to a file named condumpXX.log. Check the location and available syntax in your running server environment.

Use the server console, not a shell

Open the console for the running Dedicated Server, such as the documented console access in your panel or self-managed instance. Enter these help queries there, one at a time:

help log
help condump
help sv_logfile
help sv_logsdir

CS2 lists help as the command for checking console help. Check the response from your server version before changing logging state. These commands belong in the server console, not game chat, an operating system shell, or a panel startup field.

The captured CS2 archive snapshot for version 1.41.8.9 from October 5, 2026 describes log <on | off> as a switch for logs to file, console, and UDP. condump exports the text currently in the console to condumpXX.log. The associated variable dump also lists sv_logfile with the default value false and sv_logsdir with the default value logs. The description of sv_logsdir names a folder in the game directory. That is not an absolute path in a provider panel; the file view for your installation determines where to find the output. con_logfile is not listed in this captured artifact. Change these values only after checking the help for your running server version (CS2 commands in the captured archive snapshot, CS2 variables in the captured archive snapshot, version file).

The archive snapshot is a captured extract and does not guarantee identical help in newer versions. Do not adopt command names from old CS:GO guides without checking them. Use help and, if needed, find in the running CS2 server console before executing unknown commands.

Capture a short time window

  1. Before the test, record the installed CS2 version, time zone, and the time you start the diagnosis. Use a situation you can deliberately trigger once.
  2. First query help log. If your console confirms the form and you know the existing logging state, turn it on shortly before the event with log on.
  3. Reproduce the problem once and note the time and time zone. Capture the first related message and a few preceding lines so the sequence is clear.
  4. Query help condump and use condump to save the current console text. Read the console response and check in your instance's file view whether condumpXX.log was created.
  5. After the test, stop the additional logging with log off, unless it is already needed by your server configuration. Preserve the previous state so you do not accidentally disable existing logging.

Note: the checked CS2 command dump describes log as output to file, console, and UDP. Do not assume that log on is a local file-only option. Before enabling it, check whether your instance already uses UDP forwarding; the archive snapshot does not name a default destination. If a panel does not show this setting, ask the provider for the intended method.

Success means the output from your own server instance contains the selected time window and the relevant CS2 message. An error creating the file or an unknown command is a sign to first check the current server help, console access, and file view. The checked archive snapshot does not guarantee the same file path or panel controls at your provider.

Use HTTP logging only with a receiver you control

The CS2 artifact also lists logaddress_add_http and logaddress_add_http_delayed for a receiver that gets logs by HTTP POST. logaddress_del_http removes a receiver by its URI; logaddress_delall_http removes all HTTP receivers. Check the current server help before making a change. The artifact description does not document a particular receiver, its access protection, or its retention. Therefore, set up this forwarding only if you control the receiver and know how it processes the data.

According to the CS2 variable dump, logaddress_token_secret is a secret string field that is hashed when an explicit token hash is used for logaddress. Treat the value like an access key. Do not include it in a public ticket or shared console capture.

Also check startup output for secret values. A CS2 startup line may contain a GSLT through sv_setsteamaccount; a startup-line excerpt or screenshot may copy the token. Do not share the full startup line. If a GSLT was exposed, the CS2 GSLT guide describes the intended replacement path. For assembling and sanitizing an excerpt, see Prepare game server logs for a support request. If you are investigating a Workshop map, first check the CS2 Workshop map on a Dedicated Server; map selection and rotation are covered in the CS2 guide to maps and game mode.

Sources

Did this guide help? We are happy to help personally.