Switch on the admin logs
On Nitrado, go to Settings, General and find the log switches in the base settings: Admin Log, Server Log, Log Damage, Log Placement, Log Basebuilding and Log Playerlist. Turn on what you need, save and restart. On other hosts, these are the adminLog lines in serverDZ.cfg plus the -adminLog and -doLogs launch options.
Log Basebuilding and Log Placement are worth turning on: they're how you prove who raided a base.
Open the logs on Nitrado
In the web interface, open Information, then Log Files to view and download recent logs. You can also find them in the File Browser under Tools. On PC they're in the server's logs or profiles folder; on console servers Nitrado keeps them in the server's config folder. Each log's file name includes the date and time the server started.
The RPT: errors and crashes
The RPT file is the server's own report. It records start up, every file it loads, warnings, script errors and what happened just before a crash. When the server won't start or keeps restarting, this is the first file to read.
Scroll to the end of the newest RPT and work upwards. Look for words like error, failed, cannot or exception. The first error is usually the real cause; everything after it tends to be a knock-on effect.
- XML or JSON errors name the file and often the line
- Mod errors name the missing addon or the script that failed
- Economy warnings mention unknown item types or flags
The ADM: what players did
The ADM file is the admin log. It lists connections and disconnections, kills with the weapon and distance, hits, deaths from infected and the environment, building and dismantling, placements and, if enabled, a player list with positions every five minutes.
It's the evidence you need for reports: who was near a base when it was raided, who killed a fresh spawn on the coast, whether someone combat logged.
Script logs
Script logs record errors from the game's scripts and from mods. On a vanilla server they're usually quiet. On a modded PC server, a mod that throws errors every few seconds shows up here, and can hurt performance even when the server seems to run.
Read logs with a plan
A simple routine for any problem:
- Note the time the problem happened, in the server's time zone
- Open the log that covers that time
- Search for the player's name or the error word
- Read a few minutes either side for context
- Change one thing, restart and check the new log
Logs as evidence
When you ban someone, save the lines from the log that justify it along with the date and time. If they appeal, or another admin asks, you have the proof. A screenshot of a line is easy to fake; the log file itself is much stronger evidence.
Keep logs from piling up
A new set of logs is written every time the server starts, so busy servers build up hundreds of files. Download the ones you need as evidence, and clear out old logs now and then so the folder stays manageable. Some hosts do this automatically.