Specifies the format of the logs. consoles
writes logs to be consumed by humans.
json
writes logs in the JSON format for be consumed by machines.
[log]
mode = "json"
Specifies the log level. Valid values are debug
, info
, warn
and error
.
[log]
level = "debug"
Specifies the log output. Special values stdout
will write to standard output and stderr
to standard error.
Any other value write to a file. If the file already exists it will append to it.
[log]
output = "/var/log/revad.log"