Gateway log is empty. how to enable the gateway log

Hi,

The gateway log is not getting generated. So not able to debug the virtual endpoint javascripts.

I’ve used the docker installation in my machine.

Thanks,
Abhishek

Which docker installation? The QuickStart?

Hi Martin,

Yes

Thanks,
Abhishek

You mean the real-time logs? These will only show up if the websocket connection is active and will only show logs while you are logged into the dashboard, it’s a live view, not a stored log. Fo that you need to look at the files (or just tail the docker output).

An you can debug them without that view (and that view would not help you here, you need access to the real logs, so just:

docker logs --tail=100 --follow tyk_gateway

Though the container name may be different.

Thanks Martin … i can view the log now.