Sun Java System Instant Messaging 7.2 Administration Guide

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.