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 of setting the classpath variable
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- Example of 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