Install XenLogs
From download to your first connection, with the exact resource name and server.cfg settings.
On this page
Check the requirements
- An FXServer build that supports node_version '22'. The resource selects that runtime in its manifest.
- Access to your resources directory, server.cfg, and the server console.
- An active XenLogs subscription and a community you own or can configure.
- Outbound connectivity from FXServer to https://logs.xenvious.dev, including secure WebSocket connections.
The distributed resource includes its server bundle and panel assets. You do not need to install npm packages on your game server. ESX and QBCore are optional integrations, not prerequisites for custom logging.
1. Create a server and save its key
- Open the XenLogs dashboard and sign in.
- Create a community if you do not have one, or select the community that will own this server.
- Choose Add Server on the Overview page and enter a recognizable server name.
- Copy the API key shown after creation and store it securely for the next step.
2. Download and extract the resource
Download XenLogs.zip from the Download page. Extract the included XenLogs folder into your FiveM resources directory. Keep the folder name exactly as shipped, including the capital X and L.
resources/
└── XenLogs/
├── fxmanifest.lua
├── server.js
└── panel/
├── xenlog-panel.js
└── xenlog-panel.cssThe manifest must be directly inside resources/XenLogs/. An extra nested XenLogs folder prevents FXServer from finding the resource correctly.
3. Update server.cfg
Add these lines to server.cfg, replace the placeholder with this server's API key, and save the file. Start XenLogs before any custom resources that call its exports.
set xenlog_apikey "YOUR_SERVER_API_KEY"
add_unsafe_child_process_permission XenLogs
ensure XenLogsRestart FXServer after saving. Changing server.cfg on disk alone does not update a running resource's configuration.
4. Verify the connection
- Check the server console for the XenLogs startup banner and Connected to gateway (socket.io).
- Open the dashboard and confirm you selected the server whose API key you installed.
- In Settings, enable the ESX or QBCore integration that matches your server and save the change.
- Trigger a supported event, or use the test resource in Custom events, then open Logs to check the result.
xenlog status
xenlog rescanxenlog status prints the resource version, batching settings, and integration toggles. xenlog rescan refreshes the list of running resources. These commands run from the server console; status output alone does not prove logs reached the dashboard.