Configuring logging in your environment (AIX)(Linux)(Solaris)(Windows)

To set up logging in your environment, you must either set the classpath variable to include the file WCALoggerConfig.xml or specify the com.ibm.wca.logging.configFile system property as given in the following examples:

  1. Example of setting the classpath variable
  2. If the WCALoggerConfig.xml file is in the directory d:\WebSphere\CommerceServer55\xml\loader on a Windows 2000 machine, for example, you can use the following statement to set the classpath variable:

    SET CLASSPATH=%CLASSPATH%;D:\Program Files\WebSphere\
    CommerceServer55\xml\loader

  3. Example of specifying the com.ibm.wca.logging.configFile system property
  4. To specify the com.ibm.wca.logging.configFile system property, use the -D option when invoking the Java interpreter. An example follows:

    java -Dcom.ibm.wca.logging.configFile=d:\ice_tea\src\classlib\logger\xml\WC.xml com.ibm.wca.DTDGenerator.GenerateDTD