Skip to main content

December 19, 2024 Archived

Increasing the Size and Number of Omnissa Access Connector Log Files

The Directory Sync, User Auth, Kerberos Auth, and Virtual App services each create log files that you can use to troubleshoot problems. If you want to save more logs than are saved by default, you can increase the size of the files as well as the number of files that are created before logs are rotated.

All log files for a service are saved in the INSTALL_DIR\Workspace ONE Access\servicename\logs folder. For example, the log files for the Directory Sync Service are in the INSTALL_DIR\Workspace ONE Access\Directory Sync Service\logs folder.

Typically, the log files for which you might need to increase the size and number are the servicename-service.log and servicename-vertx-access.log files.

The following XML files contain the settings for log files:

  • The INSTALL_DIR\Workspace ONE Access\servicename\servicename.xml file contains the settings for the servicename.err.log and servicename.out.log files.

    Log FileSettings FileDefault SizeDefault Number of Files Saved
    DirectorySyncService.err.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xml10240 KB8
    DirectorySyncService.out.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xml10240 KB8
    UserAuthService.err.logINSTALL_DIR\Workspace ONE Access\User Auth Service\UserAuthService.xml10240 KB8
    UserAuthService.out.logINSTALL_DIR\Workspace ONE Access\User Auth Service\UserAuthService.xml10240 KB8
    KerberosAuthService.err.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\KerberosAuthService.xml10240 KB8
    KerberosAuthService.out.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\KerberosAuthService.xml10240 KB8
    VirtualAppService.err.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\VirtualAppService.xml10240 KB8
    VirtualAppService.out.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\VirtualAppService.xml10240 KB8
  • The INSTALL_DIR\Workspace ONE Access\servicename\conf\log4j2-override.xml contains the settings for the servicename-service.log and servicename-vertx-access.log files.

    Log FileSettings FileDefault SizeDefault Number of Files Saved
    eds-service.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xml50 MB5
    eds-vertx-access.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xml50 MB5
    eas-service.logINSTALL_DIR\Workspace ONE Access\User Auth Service\conf\log4j2-override.xml50 MB5
    eas-vertx-access.logINSTALL_DIR\Workspace ONE Access\User Auth Service\conf\log4j2-override.xml50 MB5
    eks-service.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\conf\log4j2-override.xml50 MB5
    eks-vertx-access.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\conf\log4j2-override.xml50 MB5
    eis-service.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\conf\log4j2-override.xml50 MB5
    eis-vertx-access.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\conf\log4j2-override.xml50 MB5

Note: For a description of the log files, see Accessing Omnissa Access Connector Log Files. That page also provides information on enabling DEBUG mode and tailing log files.

Procedure

  1. Log in to the Omnissa Access connector server.

  2. To modify the size or number of a service's servicename.err.log and servicename.out.log files, follow these steps.

    1. Navigate to the INSTALL_DIR\Workspace ONE Access\servicename folder and open the servicename.xml file for editing. For example, for the Directory Sync service, edit the INSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xml file.

    2. Locate the following entry:

         <log mode="roll-by-size">
              <sizeThreshold>10240</sizeThreshold>
              <keepFiles>8</keepFiles>
          </log>
      
    3. Update the file size in the <sizeThreshold> entry and the number of files to keep in the <keepFiles> entry based on your requirements.

    4. Save the file.

  3. To increase the size and number of a service's servicename-service.log and servicename-vertx-access.log files, follow these steps.

    1. Navigate to the INSTALL_DIR\Workspace ONE Access\servicename\conf folder and edit the log4j2-override.xml file. For example, for the Directory Sync service, edit the INSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xml file.

    2. Add the following lines within the <Configuration …> and </Configuration> lines:

      <Appenders>
      <RollingFile name="fileLogger" fileName="${logFilePathAndNamePrefix}.log"
      filePattern="${logFilePathAndNamePrefix}-%i.log">
      
      <PatternLayout pattern="${defaultLayout}" />
      
      <Policies>
      <SizeBasedTriggeringPolicy size="50 MB" />
      </Policies>
      <DefaultRolloverStrategy max="5"/>
      </RollingFile>
      
      <!-- Rolling file appender, used by vertx access log -->
      <RollingFile name="accessFileLogger" fileName="${accessLogFilePathAndNamePrefix}.log"
      filePattern="${accessLogFilePathAndNamePrefix}-%i.log">
      
      <PatternLayout pattern="${accessLogLayout}" />
      
      <Policies>
      <SizeBasedTriggeringPolicy size="50 MB" />
      </Policies>
      <DefaultRolloverStrategy max="5"/>
      </RollingFile>
      </Appenders>
      

      Note: The <RollingFile name="fileLogger"… section is for the servicename-service.log file and the <RollingFile name="accessFileLogger"… section is for the servicename-vertx-access.log file.

    3. To specify the size and number for the servicename-service.log file, in the <RollingFile name="fileLogger"… section that you added, edit the following lines:

      • <SizeBasedTriggeringPolicy size="50 MB" /> to specify the size of the file based on your requirements
      • <DefaultRolloverStrategy max="5"/> to specify the number of files to keep based on your requirements
    4. To specify the size and number for the servicename-vertx-access.log file, in the <RollingFile name="accessFileLogger"… section that you added, edit the following lines:

      • <SizeBasedTriggeringPolicy size="50 MB" /> to specify the size of the file based on your requirements
      • <DefaultRolloverStrategy max="5"/> to specify the number of files to keep based on your requirements
    5. Save the file.

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…