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.xmlfile contains the settings for theservicename.err.logandservicename.out.logfiles.Log File Settings File Default Size Default Number of Files Saved DirectorySyncService.err.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xml10240 KB 8 DirectorySyncService.out.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xml10240 KB 8 UserAuthService.err.logINSTALL_DIR\Workspace ONE Access\User Auth Service\UserAuthService.xml10240 KB 8 UserAuthService.out.logINSTALL_DIR\Workspace ONE Access\User Auth Service\UserAuthService.xml10240 KB 8 KerberosAuthService.err.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\KerberosAuthService.xml10240 KB 8 KerberosAuthService.out.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\KerberosAuthService.xml10240 KB 8 VirtualAppService.err.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\VirtualAppService.xml10240 KB 8 VirtualAppService.out.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\VirtualAppService.xml10240 KB 8 -
The
INSTALL_DIR\Workspace ONE Access\servicename\conf\log4j2-override.xmlcontains the settings for theservicename-service.logandservicename-vertx-access.logfiles.Log File Settings File Default Size Default Number of Files Saved eds-service.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xml50 MB 5 eds-vertx-access.logINSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xml50 MB 5 eas-service.logINSTALL_DIR\Workspace ONE Access\User Auth Service\conf\log4j2-override.xml50 MB 5 eas-vertx-access.logINSTALL_DIR\Workspace ONE Access\User Auth Service\conf\log4j2-override.xml50 MB 5 eks-service.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\conf\log4j2-override.xml50 MB 5 eks-vertx-access.logINSTALL_DIR\Workspace ONE Access\Kerberos Auth Service\conf\log4j2-override.xml50 MB 5 eis-service.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\conf\log4j2-override.xml50 MB 5 eis-vertx-access.logINSTALL_DIR\Workspace ONE Access\Virtual App Service\conf\log4j2-override.xml50 MB 5
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
-
Log in to the Omnissa Access connector server.
-
To modify the size or number of a service's
servicename.err.logandservicename.out.logfiles, follow these steps.-
Navigate to the
INSTALL_DIR\Workspace ONE Access\servicenamefolder and open theservicename.xmlfile for editing. For example, for the Directory Sync service, edit theINSTALL_DIR\Workspace ONE Access\Directory Sync Service\DirectorySyncService.xmlfile. -
Locate the following entry:
<log mode="roll-by-size"> <sizeThreshold>10240</sizeThreshold> <keepFiles>8</keepFiles> </log> -
Update the file size in the
<sizeThreshold>entry and the number of files to keep in the<keepFiles>entry based on your requirements. -
Save the file.
-
-
To increase the size and number of a service's
servicename-service.logandservicename-vertx-access.logfiles, follow these steps.-
Navigate to the
INSTALL_DIR\Workspace ONE Access\servicename\conffolder and edit thelog4j2-override.xmlfile. For example, for the Directory Sync service, edit theINSTALL_DIR\Workspace ONE Access\Directory Sync Service\conf\log4j2-override.xmlfile. -
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 theservicename-service.logfile and the<RollingFile name="accessFileLogger"…section is for theservicename-vertx-access.logfile. -
To specify the size and number for the
servicename-service.logfile, 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
-
To specify the size and number for the
servicename-vertx-access.logfile, 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
-
Save the file.
-
Was this page helpful?