Sun Java System Instant Messaging 7 2006Q1 Administration Guide

ProcedureTo Specify the Location of the Log4j Configuration File (Log4j.conf)

Steps
  1. Open iim.conf.

    See iim.conf File Location for information on locating this file.

  2. Set the iim.log4j.config parameter to the path in which you want the logger to look for log4j.conf.

    For example, on Solaris:


    iim.log4j.config=/etc/opt/SUNWiim/default/config/log4j.conf
    

    On Linux:


    iim.log4j.config=/etc/opt/sun/im/default/config/log4j.conf
    
  3. Save and close iim.conf.

  4. Refresh the server.


    imadmin refresh
    

    Caution – Caution –

    Do not use the imadmin start, imadmin stop, or imadmin refresh commands in an HA environment with Sun Cluster. Instead, use the Sun Cluster administrative utilities.