In Access Gateway, you can configure logging by using Advanced Options.
Configuring the Log Level
Configuring the Log File