Gateway writes logs to files within
logsa directory, it might be useful to write to a volume used by the docker container:
docker run -v $(pwd)/logs:/root/logs ...
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.
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).
TRACE, DEBUG, INFO, WARN, ERROR
The log files can be found in the
logsdirectory 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.