You can change the log levels for Secure Email Gateway in Unified Access Gateway.

You can also change the logging levels by configuring the Secure Email Gateway key-value pairs on the Workspace ONE UEM console. To use the key-value pairs, you must have the required Secure Email Gateway custom settings features (specific Windows and Unified Access Gateway versions). For more information, see the SEG Custom Gateway Settings section in the Secure Email Gateway V2 documentation.

By using the key-value pairs from the Workspace ONE UEM console, you can change the logging levels for all Unified Access Gateway appliances at once.

Prerequisites

If not already done, you must enable SSH on the Linux virtual machine.

Procedure

  1. Connect to Unified Access Gateway Secure Email Gateway machine using Secure Shell.
  2. Edit the log configuration file for SEG using the command.
    vi /opt/vmware/docker/seg/container/config/logback.xml
  3. Look for an appropriate logger for which you want to change the logging level. For example, logger name="com.airwatch" groupKey="app.logger" level="error"
  4. Change the value of attribute level from error to any levels such as warn,Info, Debug.
  5. Save the file.

Results

The logging level change reflects in the logs.