How to get JSON logs from a Palworld server
Set LogFormatType=Json in PalWorldSettings.ini and restart the server to write the server log as JSON. Text, the default, keeps plain text.
LogFormatType
Sets the server log format to plain text or JSON.
LogFormatType=<format> Examples
LogFormatType=Json Structured logs for log tools.
LogFormatType=Text Readable plain text.
Values
| Value | What it does |
|---|---|
| TextDefault | Plain text |
| Json | JSON lines |
Arguments
formatRequiredTextorJson.
What it does
Choose Json if you feed the logs into a log tool that parses structured data; Text is easier to read by eye.
The game's own description: Log format: Text or Json
Good to know
- Edit
PalWorldSettings.iniwhile the server is stopped; changes apply after a restart.
Run it on your server
Admin commands are typed in game chat after /AdminPassword, or from the console on the server page. Settings go in world settings and apply at the next start. New to this? Start a Palworld server first.
Your own
Palworld server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.