Config.toml
This file must be in TOML format and will contains some required keys.
Database#
host
#
required string
Database hostname. Must point to a valid PostgreSQL database.
port
#
number 5432
If your instance port is difference you can set it with this key.
user
#
required string
Login name for the database user
password
#
required string
Password for the database user
Logger#
You can define zero or several logger output. If none are defined it will use a default one with this configuration:
type
#
required string
The logger type. Available types:
file
for rotated filesconsole
for output on stdout- Other types may come in the future, you can suggest one by creating an issue.
level
#
string warn
Maximum level of logging, all levels below are ignored. The hierarchy is:
fatal
> error
> warn
> info
> debug
> trace
.
dir
#
string /var/log/minecraft-monitor/
For file
logger. Set where the files should be located.