Working with logs

Use the Troubleshooting > Logs options to:

  • Set log levels for Stunnel and HTTPD logs
  • Enable debugging for MobileIron modules
  • Disable debugging for MobileIron modules
  • Clear logs
  • View logs
  • Export logs

Setting the log level for Stunnel and HTTPD logs

Setting the Stunnel log level

In Troubleshooting > Logs, in the section Stunnel/HTTPD Log Management, you can set the log level for Stunnel. Stunnel is a library that MobileIron Ivanti EPMM uses for TLS encryption. These logs are captured in the /var/log/mi_messages file. The default log level is Emergency. Typically, you do not need to change the Stunnel log level. MobileIron recommends that you contact MobileIron Technical Support before changing the log level.

Setting the httpd log level

In Troubleshooting > Logs, in the section Stunnel/HTTPD Log Management, you can set the log level for events related to incoming HTTP/HTTPS requests. These logs are captured in the files in /var/log/httpd/https_error_log and /var/log/httpd/portal_error_log. The default log level is Warning. Typically, you do not need to change the httpd log level. MobileIron recommends that you contact MobileIron Technical Support before changing the log level.

Changing the log level to Debug or Trace causes many events to be logged. Ivanti EPMM maintains up to 5 100MB files for each of the log files in /var/log/httpd. When the maximum is exceeded, Ivanti EPMM deletes the oldest file.

Enabling debugging for MobileIron modules

You can specify which MobileIron modules you want to place in debug mode. Placing a module in debug mode causes more detailed messages to be recorded in the corresponding log.

Procedure 

  1. Under Troubleshooting > Logs, select the check boxes for the modules you want to place in debug mode:

    MICS

    MobileIron Configuration Service (the service that supports System Manager)

    MIFS

    MobileIron File Service (the service that supports the rest of Core)

  2. For MIFS (MobileIron File Service), which represents the rest of Core, select:

    1. In the MIFS Debugging section, use the Package drop-down to select an area to include in the log.
    2. Use the Log level drop-down to select the level of detail you want to include.
    3. Click the + icon to add additional packages and log levels.
  3. Click Apply.

Disabling debugging

You can disable all debugging or you can select the modules for which you want to disable debugging.

Disabling all debugging

To disable all debugging, which stops Ivanti EPMM from writing detailed information to all logs, click Stop All Debugging under Troubleshooting > Logs. For MIFS packages, clicking this button sets the log level to Info for all selected packages.

Disabling debugging for MICS or the employee portal

Procedure 

  1. Log into System Manager.
  2. Go to Troubleshooting > Logs.
  3. Go to the Log Management group.
  4. Clear the checkbox next to each module you want to remove from debug mode.
  5. Click Apply > OK.

Disabling debugging for MIFS packages

Procedure 

To disable debugging for MIFS packages under Troubleshooting > Logs:

  1. Remove the package from the list (sets lowest level of logging)
  2. Set the log level to OFF (turns off all logging for the selected package)

Clearing logs

Clearing logs enables you to discard information for previous events, making it easier to isolate the information you need.

Procedure 

  1. Log into System Manager.
  2. Go to Troubleshooting > Logs.
  3. Go to the Log Management group.
  4. Click Clear All Logs.

Log Names

The Troubleshooting screen enables you to view the contents of debug logs directly from the console. Debugging must be enabled. The following table lists the available logs:

Table 44.   Viewing Logs

Log Name

Description

MICS

MobileIron Configuration Service-related log files (i.e., the service that supports System Manager).

MIFS

MobileIron File Service-related log files.

System

Ivanti EPMM status logs-related log files.

Device

Searchable device log files (search by mobile number or user).

MI

MobileIron back-end system-related log files.

Catalina

MobileIron application loading status-related log files.

Catalina2

MobileIron application loading status-related log files.

SystemBackup

MobileIron System Backup process-related log files. See System backup.

High Availability

HA service-related log files, if configured.

LDAP

Lightweight Directory Access Protocol (LDAP) integration-related log files.

CertActivity

Certificate activity-related log files.

CertCheckJobStatus

Certificate status-related log files.

DEP

Apple Automated Device Enrollment-related log files.

VPP

Apple volume purchase plan-related log files.

SSP

Self-service user portal-related log files.

Viewing logs

Procedure 

  1. Log into System Manager.
  2. Go to Troubleshooting > Logs.
  3. Go to View Module Logs section
  4. Click the link for the log you want to view.

    The window scrolls dynamically as Ivanti EPMM adds entries to the log. The most recent log entries are at the top.

  5. Click x to close the log view.

    If you close the log view window and then re-open it, the displayed window shows only log entries made since you closed the window.

Viewing only new log entries

Procedure 

To remove existing log entries from the log view window and view only new log entries:

  1. Log into System Manager.
  2. Go to Troubleshooting > Logs.
  3. Go to View Module Logs section
  4. Click the Clear Window button.

Viewing logs by device or user

Procedure 

  1. Log into System Manager.
  2. Go to Troubleshooting > Logs.
  3. Go to View Module Logs section
  4. Click the Device link.
  5. Select User or Phone to specify whether you want to view logs by user or device.
  6. Enter the user name or phone number.
  7. Click View Log.

Exporting logs

You can upload logs directly to the default support site or a designated alternate site. The default support site is configured in Settings > Log Upload.

Typically, you will use the default HTTPS Server Configuration, which automatically includes the user name you entered in Maintenance > Software Updates. Confirm with MobileIron Technical Support that the entries on this display are correct.

Procedure 

To upload logs:

  1. Select Troubleshooting > Logs.
  2. Scroll down to the Export Logs section.
  3. Select the log to download.
  4. Select a database option.

    Show tech logs can include database information that some companies consider too sensitive to send to MobileIron Customer Support. Therefore, you can use the Database Options to specify whether to include data and whether to remove potentially sensitive information from the output.

    The following options are available:

    • Sanitize: Remove sensitive information. This is the default selection. If you select the Sanitize option, the following data is removed:

      • email addresses
      • device tokens
      • unlock tokens
      • phone numbers
      • last locations
      • unsent alerts
      • events
    • Standard: Sensitive information included.
    • No Database: All database information omitted.
  5. Select SFTP Upload, HTTPS Upload or Download from the Type drop-down list, depending on the method you want to use.

    For Self-service user portal (SSP) log files, Download is the only supported Export option.

  6. If you received a MobileIron support ticket number associated with this export, enter it in the Support Ticket Number field.

  7. If you selected SFTP Upload or HTTPS Upload, select the Alternate Location check box and configure a backup location or user authentication in case transmission to the primary server or user fails.

    If you receive technical support from a MobileIron partner instead of directly from MobileIron, then you will need to obtain an alternate location from your vendor.

    The following additional fields for the alternate location are displayed:

    • Host/IP or URL (e.g., https://support.mobileiron.com)
    • User Name
    • Password
    • Confirm Password
  8. Click SFTP Upload, HTTPS Upload or Download.