Environment
Novell Data Synchronizer
Novell Data Synchronizer Connector for GroupWise
Novell Data Synchronizer Connector for Mobility
Novell GroupWise Mobility Service (GMS)Situation
How to change the Logging Level on various components of Data Synchronizer for troubleshooting
How to set the Log Level to debug or verbose
Resolution
Data Synchronizer has various components and depending on the nature of the issue, logging level may need to be increased on some or all components. Also be aware that increasing the logging level will cause more disk space to be taken by the log files.
Config Engine:
- Edit /etc/datasync/configengine/configengine.xml .
- Change the following statement from
<level>info</level>
to
<level>debug</level> - Save the file.
- Type "rcdatasync-configengine restart ".
Log file for Config Engine is /var/log/datasync/configengine/configengine.log .
Web Admin:
- Edit /etc/datasync/webadmin/server.xml .
- Change the following statement from
<level>info</level>
to
<level>debug</level> - Save the file.
- Type "rcdatasync-webadmin restart ".
Log file for Web Admin is /var/log/datasync/webadmin/server.log .
Sync Engine:
Changing the Log Level through WebAdmin:
- Launch Web Admin by going to https://ipaddress:8120/
- Login to Web Admin.
- Under Manage Engines, click the Engine or click the icon for Edit Config.
- Scroll down to the Logging section.
- Change the Level field to Debug and select Verbose.
- Click Save Log Settings.
- Click "Edit XML Source" on the top right and search for section that looks similar to following and change it to
<log>
<level>debug</level>
<file>engine.log</file>
<verbose>diagnostic</verbose>
<failures>off</failures>
</log> - Click Save XML.
- Click Home button on the top left.
- Type "rcdatasync restart " on the terminal session to restart datasync services.
OR
Changing the Log Level by manually modifying the file. Manually modifying the file may help in cases if WebAdmin cannot be reached for some reason.
- Edit /etc/datasync/configengine/engines/default/engine.xml .
- Search for the section that looks similar to the following and change it to
<log>
<level>debug</level>
<file>engine.log</file>
<verbose>diagnostic</verbose>
<failures>off</failures>
</log> - Save the file.
- Type "rcdatasync restart " on the terminal session to restart datasync services.
Log file for Sync Engine is /var/log/datasync/engine.log .
GroupWise Connector:
Changing the Log Level through WebAdmin:
- Launch Web Admin by going to https://IPAddress:8120
- Login to Web Admin.
- Click GroupWise Connector. By default it is named groupwise .
- Scroll to the very bottom.
- Change the "Set Logging Level " field to Debug and select Verbose.
- Click Save Log Settings.
- Click "Edit XML Source" on the top right and search for section that looks similar to following and change it to
<log>
<failures>on</failures>
<verbose>diagnostic</verbose>
<file>default.pipeline1.groupwise.log</file>
<level>debug</level>
</log> - Click Save Custom Settings.
- Click Home button on the top left.
- Stop and start the GroupWise Connector.
OR
Changing the Log Level by manually modifying the file. Manually modifying the file may help in cases if WebAdmin cannot be reached for some reason.
- Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/groupwise/connector.xml.
- Search for the section that looks similar to the following and change it to follows
<log>
<failures>on</failures>
<verbose>diagnostic</verbose>
<file>default.pipeline1.groupwise.log</file>
<level>debug</level>
</log> - Save the file.
- Stop and Start the connector for the settings to take effect.
Log files for GroupWise Connectors are /var/log/datasync/connectors/default.pipeline1.groupwise.log and /var/log/datasync/connectors/default.pipeline1.groupwise-Appinterface.log
Mobility Connector:
Changing the Log Level through WebAdmin:
- Launch Web Admin by going to https://ipaddress:8120/
- Login to Web Admin.
- Click Mobility Connector. By default it is named mobility.
- Scroll to the very bottom.
- Change the "Set Logging Level " field to Debug and select Verbose.
- Click Save Log Settings.
- Click "Edit XML Source" on the top right and search for section that looks similar to following and change it to
<log>
<failures>on</failures>
<verbose>diagnostic</verbose>
<file>default.pipeline1.mobility.log</file>
<level>debug</level>
</log> - Click Save Custom Settings.
- Click Home button on the top left.
- Stop and start the Mobility Connector.
Log files for Mobility Connectors are /var/log/datasync/connectors/default.pipeline1.mobility.log and /var/log/datasync/connectors/default.pipeline1.mobility-Appinterface.log .
OR
Changing the Log Level by manually modifying the file. Manually modifying the file may help in cases if WebAdmin cannot be reached for some reason.
- Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml.
- Search for the section that looks similar to the following and change it to follows
<log>
<failures>on</failures>
<verbose>diagnostic</verbose>
<file>default.pipeline1.mobility.log</file>
<level>debug</level>
</log> - Save the file.
- Stop and Start the connector for the settings to take effect.
Additional Information
Log file names and locations.
Internal Mobility Log File Subdirectory Log File Name
Service Component under /var/log/datasync
Sync Engine syncengine engine.log
Config Engine configengine configengine.log
Web Admin webadmin server.log
Connector Manager syncengine connectorManager.log
Sync Agents connectors groupwise-agent.log
groupwise.log
mobility-agent.log
mobility.log