All device log settings are configured through the log_config.cfg file located in the "\Program Files\AirWatch" directory. When this file is opened up and viewed in Notepad, it appears with the following text and options:
The first setting group that appears under the asterisk is the default configuration settings for all logs available on the device.
Trace levels vary from 1 to 5. A level of 1 provides the most basic and least amount of information. Developers use Level 5 for debugging purposes since it provides all available messaging. There is a tradeoff between the trace level and the log size. A higher trace level increases the size of the log files due to messaging increase. The trace level that is set in the default section applies to all log files on a device.
You can keep the default log level low and still increase the log level for the four options below the default log level. Specify the log level for each of the options if you choose to use a different trace level than the default level.
The logs available on a device vary based on what is configured and the OEM of the device. The following log files are generally available on Windows Rugged devices:
- aw_setup – Provides logging information relating to the AWMasterSetup utility. The AWMasterSetup utility initiates the agent install and uninstall process on a device. This log file is the only log file that is not located in the "\Program Files\AirWatch" directory. The log is instead located in the root of the file system.
- awacmclient – Provides logging information relating to the AWCM client on the device.
- awapplicationmanager – Provides logging information relating to product provisioning.
- awprocesscommands – Provides logging information relating to the execution of MDM commands and installation of profiles.
- AWService – Provides information about the AWService.exe component, which is responsible for managing beacon and interrogator samples.
- awapplyprofile – Relates to installation of the agent settings XML file which occurs during the enrollment process.
- awregisterdevice – Provides information about the registering of the device that occurs during the enrollment process.
- awapplauncher – Provides information about the Application Launcher executable. This log only applies to devices using the App Launcher.
- fusionwlansetup – Provides information about configuring and setting up the Fusion Wi-Fi driver on Motorola devices.
General Process for Configuring Log Files
- Transfer the log file to your PC using the file manager utility in device details or through remote management.
- Open the log file using a basic text editor such as Notepad.
- Edit the desired trace level to the needed value.
- Save the log file.
- Transfer the log file back to the "Program Files\AirWatch" directory on the devices. Consider first deleting the old log_config.cfg file on the device.
- Restart the AWService on the device once it has the updated log_config.cfg file. Use the Restart AirWatch Agent or the Warm Boot device actions available in the AirWatch Console.
- Once the AWService restarts, the new logging configuration takes effect.