Skip to content
/SLASHPLAY

How to save the Factorio server log to a file

Start the server with --console-log <file>. On SLASHPLAY the Console tab shows the live log and the History tab past runs.

--console-log

Writes a copy of the server's log to this file.

--console-log <file>

Examples

--console-log config/console.log

A log copy in the config folder.

Arguments

fileRequired
Path of the log file.

What it does

Keeps chat, joins, bans and commands in a file you can read later.

Good to know

  • The Console tab already shows the live log, and the History tab past runs. Factorio has no Launch args field on SLASHPLAY. The start line is in .slashplay/boot.sh, which you can edit from Advanced, Terminal; the change applies at the next Restart.

Run it on your server

Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.

Your own
Factorio server.

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