This topic provides sample commands that you can use to view and aggregate logs from your APIIDA API Gateway Manager installation. The logs may contain container-specific error messages, event messages, and warnings as well as the log of the Gateway Manager itself.
Viewing Logs
The container can log to any external logging system supported by Docker. Use the docker-compose logs
command to view logs.
...
$ docker-compose --file docker-compose.yml logs --tail 100 --follow aagm
...
Aggregating Logs
Container logs can be aggregated and sent to any external logging system supported by Docker. The following example aggregates and sends the container logs to the syslog server "syslog-server.example.com" on port 123.
docker-compose.yml
Code Block |
---|
services: aagm: image: apiida/aagm:latest logging: driver: syslog options: syslog-address: "tcp://syslog-server.example.com:123" |
...
Logs for APIIDA Support
If the APIIDA support asks you to provide additional logs, please execute following commands:
...