Configure tracing for the promotion engine


To configure tracing for the promotion engine:

  1. Edit the promotion engine configuration XML file in an editor. You can find this file in the following location: WC_eardir/xml/PromotionEngineConfiguration/WCSPromotionEngineConfig.xml

  2. Update the following code segment:
    <DefaultBehavior>
       <StatelessInvocation>true</StatelessInvocation>
      
    <CheckTargetingAtRuntime>true</CheckTargetingAtRuntime>
      
    <SkipTargetingOnCodeEntered>true</SkipTargetingOnCodeEntered>
      
    <PriceAdjustmentBasedOnStandardOfferPrice>true</PriceAdjustmentBasedOnStandardOfferPrice>
       
    <Debug>false</Debug>
    </DefaultBehavior>
    
    
    
    The debug segment in bold should be updated to set the value to true.

  3. Save the file.

  4. Restart the WebSphere Commerce server.


The trace is written to the SystemOut.log file that contains all other WebSphere Commerce output. When you have captured the required trace information, you should disable tracing as it may negatively affect performance.

 

Related tasks


Configure the Promotion Engine

 

Related Reference


Example: Promotion engine configuration XML file