Logging Config

Custom Logging Information

Hindenburg allows you to customise the information displayed about players, connections and rooms in Hindenburg.

Located in the logging area of Hindenburg's configuration, you can pass an array of keys to display about each area of Hindenburg. For example:

"logging": {
"hideSensitiveInfo": true,
"connections": {
"format": [
"id",
"language",
"ip",
"ping"
]
},
"rooms": {
"format": [
"players",
"map"
]
},
"players": {
"format": [
"id",
"ping",
"ishost"
]
}
}

You can set "hideSensitiveInfo" to true to quickly hide ip addresses and user ids; useful for screenshots and public logs. Set it to "false" to disable this.

This would log the following

Connections

image

Note that the IP is hidden, as "hideSensitiveInfo" is on true.

Rooms

image

Players

image

For connections (clients connected to the server), you can use any of the following keys: "id", "ip", "ping", "room", "mods", "level", "version", "platform", "language"

For rooms: "players", "map", "issaah", "privacy"

For players: "id", "ping", "mods", "level", "ishost", "platform", "language"

Generated using TypeDoc