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:
Example: Setting the classpath variable
If the WCALoggerConfig.xml file is in the directory WC_installdir\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\ CommerceServer56\xml\loader
Example: Specifying the com.ibm.wca.logging.configFile system property
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