Tag: logging

Increasing log level with BusinessWorks 5.x

This article provides general properties to increase log level in BusinessWorks 5.x applications.

All of these properties should be added in the BW application’s tra file the same way as the SOAP web service debugging properties (see previous article).

Logging all process definition, activity and group calls in the BW application:

Trace.Task.*=true

Logging only specific activity calls in the BW application:

Trace.Task.Folder1/Folder2/ProcessDef.process.Activity=true
Trace.Task.Folder1/Folder2/ProcessDef.process.Activity\ With\ Spaces=true
Trace.Task.Folder1/Folder2/ProcessDef.process.Group/Activity=true
Trace.Task.Folder1/Folder2/ProcessDef.process.Group\ With\ Spaces/Activity=true
Trace.Task.Folder1/Folder2/ProcessDef.process.Group\ With\ Spaces/Activity\ With\ Spaces=true

Logging input and output XML structures of all activities in the BW application (must be combined with the Trace.Task.* property):

bw.engine.showInput=true
bw.engine.showOutput=true

Other miscellaneous logging properties (the stars can be replaced with paths to specific processes or activities):

Trace.Debug.*=true
Trace.Error.*=true
Trace.Info.*=true
Trace.Warn.*=true
Trace.JC.*=true
Trace.Engine=true
Trace.Startup=true

Debugging SOAP web services with BusinessWorks 5.x

If you are having difficulties tracking down an issue with your SOAP/HTTP web services in your BusinessWorks 5.x project, it is possible to enable SOAP debugging. The following applies to SOAP Event Source process starters as well as to the Service resources.

  • Edit your BW application’s tra file (designer.tra or custom property file if you are using Designer).
  • Add the following properties:
java.property.com.tibco.plugin.soap.trace.inbound=true
java.property.com.tibco.plugin.soap.trace.outbound=true
java.property.com.tibco.plugin.soap.trace.filename=C:/tmp/soap.txt
java.property.com.tibco.plugin.soap.trace.pretty=true
java.property.com.tibco.plugin.soap.trace.stdout=true
  • It is also possible to increase the HTTP log level with the following property:
bw.plugin.http.server.debug=true
  • Save the file and restart the BW engine (close then restart Designer when using designer.tra, or simply restart the tester when using a custom property file loaded with the -p flag).