Debug Tracing Builder
In this topic ...
Related Topics ...
The Debug Tracing builder sets a debug tracing property on the WebApp, so that when you run the model , the it displays information from one or more of the following categories in the application server's console window. This information is also written to the debugTracing.txt file in Factory's WEB-INF/logs directory.
Log files for a portlet are found in the deployed portlet WAR's directory. Log files for a standalone application can be found in the deployed enterprise application's directory.
- Profile selection
- Builder Call inputs
- Model Generation
- Model actions
- Service Call requests
- Incoming SOAP requests
- HTTP Parameters in the request
Properties in the log4j.properties file (in Factory's WEB-INF/config directory) determine what information gets displayed during the debug tracing operation.
How do I...
Set log4j Properties
Trace the Value of a Variable
Trace a Specific Action
Interpret a Debug Log File
Print Out Value of a Variable
Specifying Inputs
The Debug Tracing builder takes the inputs described in the table below. For help on inputs common to many or all builders such as those in the Properties and HTML Attributes input groups, see "Using the Builder Call Editor."
Enabling Debug Tracing
Before you use the Debug Tracing builder, set the bowstreet.system.debugTracing property in the WEB-INF/config/log4j.properties file to DEBUG. When this property is set to DEBUG, it provides more details, such as the session ID and profile information.
To change the property to DEBUG, do the following:
- Open the WEB-INF/config/log4j.properties file in your favorite text editor.
- Change the property from log4j.category.bowstreet.system.debugTracing=INFO,Console,DebugTracing to the following
log4j.category.bowstreet.system.debugTracing=DEBUG,Console,DebugTracing
- Change priority value from WARN (the default value) to DEBUG for one or more of the following properties:
# These categories are for system level logging, please set the priority
# of category to INFO, WARN or DEBUG to enable that category
log4j.category.bowstreet.system.request=WARN,Console,Request
log4j.category.bowstreet.system.profileSelection=WARN,Console,ProfileSelection
log4j.category.bowstreet.system.regen=WARN,Console,Regen
log4j.category.bowstreet.system.builderCalls=WARN,Console,BuilderCalls
log4j.category.bowstreet.system.modelActions=WARN,Console,ModelActions
log4j.category.bowstreet.system.webservice.serviceCall=WARN,Console,ServiceCalls
log4j.category.bowstreet.system.webservice.incomingSOAPRequest=WARN,Console,IncomingSOAPRequests