Friday, May 1, 2020

WCS Useful loggers



Struts
com.ibm.websphere.commerce.WC_SERVER=all: org.apache.struts.*=all

REST


com.ibm.commerce.foundation.rest.providers.*=all:com.ibm.commerce.store.taglibs.RESTTag=all:com.ibm.commerce.foundation.internal.client.taglib.HeaderTag=all:com.ibm.commerce.component.internal.client.util.RESTInvoker=all:com.ibm.commerce.component.internal.client.util.RESTHandler=all

Search in WAS


com.ibm.commerce.catalog.*=all:com.ibm.commerce.foundation.*=all:com.ibm.commerce.search.*=all

Search in solr:


com.ibm.commerce.foundation.*=all: com.ibm.commerce.rest.*=all: org.apache.solr.*=all: org.apache.wink.*=all: com.ibm.commerce.solr.*=all

Price index:


com.ibm.commerce.foundation.dataimport.priceindex.*=finest
com.ibm.commerce.price.*=finest
com.ibm.websphere.commerce.WC_ORDER

JPA

*=info:JPA=all:openjpa.*=finer:openjpa.kernel=finest

SQL


com.ibm.ws.rsadapter.jdbc.WSJdbcCallableStatement=finer:
com.ibm.ws.rsadapter.jdbc.WSJdbcStatement=finer:
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement=finer:
com.ibm.ws.rsadapter.jdbc.WSJccCallableStatement=finer:
com.ibm.ws.rsadapter.jdbc.WSJccStatement=finer:
com.ibm.ws.rsadapter.jdbc.WSJccPreparedStatement=finer

ACPOLICY

com.ibm.websphere.commerce.WC_SERVER=all:com.ibm.websphere.commerce.WC_USER=all:com.ibm.websphere.commerce.WC_ACCESSCONTROL=all:

com.ibm.commerce.component.helper.*=all:com.ibm.commerce.component.registry.*=all:com.ibm.commerce.foundation.logging.*=all

To Get xml in log:  
com.ibm.commerce.foundation.server.command.bod.BusinessObjectDocumentProcessor

In ts-app enable log :
 
 
 run set-dynamic-trace-specification "*=info:com.ibm.websphere.commerce.WC_ORDER=all:com.ibm.commerce.foundation.logging.*=all:com.ibm.commerce.order.facade.server.commands.ComposeOrderDetailsCmdImpl=all:com.ibm.commerce.order.*=all:com.ibm.commerce.foundation.server.command.bod.*=all:com.ibm.commerce.order.event.*=all"

crs-app
run set-trace-specification "*=warning:org.apache.commons.httpclient.*=all:java.net.*=all"


xc-app
run set-trace-specification "*=warning:com.ibm.commerce.order.ue.rest.*=all"





No comments:

Post a Comment