Use the available logs and commands or monitoring URL to diagnose and troubleshoot intermittent issues that you might experience with the Content Gateway.
Use the following command to sort (as root):
tail -f /var/log/airwatch/content-gateway/content-gateway.log
sudo service content-gateway start – Starts the service. sudo service content-gateway stop – Stops the service. sudo service content-gateway restart – Restarts the service. sudo service content-gateway status – Shows the status of the service.
The Content Gateway does not have specific error codes or messages through which it communicates the errors. Content Gateway communicates errors through the standard HTTP status codes. For more information, see the HTTP status codes.
- Logs are located at AirWatch/Logs/ContentGateway/CGContent.log
- To change log levels, navigate to AirWatch\AirWatch.EnterpriseIntegration.Content\ and open the Web.config file. Locate the loggingConfiguration entry and change level="Error" to level="Verbose". Restarting the Content Gateway service or performing an IIS reset might be necessary.
Windows Monitoring URL
|Enable the <add key="enableSystemInfo" value="true" /> flag in the Web.config file|
The Content Gateway does not have specific error codes or messages through which it communicates the errors. Content Gateway communicates errors through the standard HTTP status codes. For more information, see HTTP status codes.