On the Home page, click Access Gateways > Edit > Advanced Options.
Add the following line:
ErrorLog <path to the file where logs should be recorded>
Click OK.
Click Access Gateways > Update > OK.