Go Gateway
The gateway offers two separate types of loggers - stdout and file loggers. The gateway provides several loggers 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.
Gateway Parameters | Description | Default |
---|---|---|
log-level | Sets the logging level for STDOUT | INFO |
log-file-level | Sets the logging level for the file logger (recommended over log-level ) | INFO |
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
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 modified 1yr ago