The Struts Portlet Framework uses the Commons-Logging interface for a logging facility. The Struts Portlet Framework has supplied an implementation of the Commons-Logging Log interface that can be used to map trace messages to the logging facility used by the portal server. This file is normally found in the wp_root/log directory. Trace logging is enabled by setting properties in the wp_root/shared/app/config/log.properties file.
Note: By default tracing is disabled.
The trace string for tracing a Struts portlet application can be configured in the log.properties file. The trace string can be modified to add or remove classes.
Proceed as follows to enable logging in the portlet included in this ...