Logging
WARNING: Setting the log level to TRACE may affect the gatewayβs performance.
Gateway writes logs to files within logs
a directory, it might be useful to write to a volume used by the docker container:
docker run -v $(pwd)/logs:/root/logs ...
Log Instructions
The gateway offers two separate types of loggers - stdout and file loggers. The gateway provides several logger parameters that allow users to configure the amount of data logged. Users are encouraged to modify the file loggers in case they want to increase the gateway log level.
log-level
STRING
Sets the logging level for STDOUT
INFO
log-file-level
STRING
Sets the logging level for the file logger
DEBUG
The Gatewayβs common log levels and the parameters for the flags are listed below in order from most verbose (TRACE) to least verbose (ERROR).
The log files can be found in the logs
directory of the Docker container (as specified with the docker command or the startup script). The most recent log file is named gateway-[external port of gateway].log
.
Older log files are named gateway-[external port of gateway]-[end timestamp].log
.
Last updated