Sun Java System Instant Messaging 7.2 Administration Guide

Setting Up Logging for Instant Messenger

To set up logging for Instant Messenger you will need to:

  1. Determine the type of data you want to collect.

  2. Modify im.jnlp to include the logconfig parameter.

  3. Specify a type for the logconfig parameter based on the type of data you want to collect.

  4. Redeploy the resource files.

ProcedureTo Enable Logging for Instant Messenger

  1. Make a backup copy of im.jnlp.

  2. Open the im.jnlp Instant Messenger resource file in a text editor.

  3. Search for the line:


    <application-desc main-class="com.iplanet.im.client.iIM">
  4. Add the following argument to the end of the section:


    <argument>logconfig=type</argument>
    

    Where type is one of ALL, API, XMPPTRAFFIC, or CLIENT. See Instant Messenger Log File Content Options for details.

  5. Save and close the im.jnlp file.

  6. If you are using Sun Java System Application Server or Sun Java System Web Server, redeploy the resource files as described in Redeploying Resource Files.

  7. Relaunch Instant Messenger.

  8. Locate the log file.

    By default the log file is stored as usr_home/.sunmsgr/messenger.log.

Next Steps

You should revert back to the backup copy of im.jnlp when you have finished troubleshooting Instant Messenger. Then, redeploy the resource files as described in Redeploying Resource Files.