Use the available logs and commands or monitoring URL to diagnose and troubleshoot intermittent issues that you might experience with the Content Gateway.

Linux Logs

Log Type Location
Installer Log

/opt/airwatch/content-gateway/_content-gateway_installation/Logs/

Content Log /var/log/airwatch/content-gateway/

Use the following command to sort (as root):

tail -f /var/log/airwatch/content-gateway/content-gateway.log

Linux Commands

                  
                  
                  
                  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.
                  
                  
                  
                  
               
Note:

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.

Windows Logs

  • 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

URL Return Notes
https://<Content_Gateway_URL>/content/systeminfo

403 Forbidden

Enable the <add key="enableSystemInfo" value="true" /> flag in the Web.config file
Note:

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.