Last Updated:

How to Enable Logging for RMM

Andy Lapping

Is your connection from Rhapsody to Rhapsody Model manager giving you problems ? Here's how to enable logging to get more information about what might be going wrong:

First open the <Rhapsody Install Directory>\Share\Profiles\RhapsodyModelManager\log4j.properties file in a text editor.

(If you are using Rhapsody version 9 or above then look inside UserShare rather than Share

1. At the top of the file, comment out the line log4j.rootLogger=OFF

2. Remove the hash at the start of the line log4j.rootLogger=INFO, file to 'uncomment' it

#log4j.rootLogger=OFF
log4j.rootLogger=INFO, file

3. Scroll down to the OSLC Operations section and set the following properties to TRACE:

log4j.logger.com.ibm.rational.rhapsody.oslc log4j.logger.com.ibm.rational.rhapsody.oslc.timing

log4j.logger.com.ibm.rational.rhapsody.oslc=TRACE
log4j.logger.com.ibm.rational.rhapsody.oslc.timing=TRACE

4. Optional - Set log4j.appender.file.File property with a log file name and path (using a forward path separator). If you do not set this then the log file will be generated to the default directory: <model path>/OSLC_<rhapsody process id>.log