Trying to troubleshoot some old WDK code for customized webtop. I have DfLogger statements in my compiled java classes (e.g. container) working by configuring log4j.properties for those classes, but would like to also get DfLogger statements working from inline code within JSP. I can't seem to get this working from JSP. Is this possible? How do you register them in log4j.properties?
Example from java class
package com.blah.component.propcontainer
public class propDocumentContainer extends com.documentum.webcomponent.library.properties.Properties implements IHttpSessionManagerUnboundListener {
public void onInit(ArgumentList initArgs) {
...
DfLogger.debug(this,"Start onInit",null,null);
...
}
}
webtop\WEB-INF\classes\log4j.properties:
log4j.logger.com.blah.component.propcontainer.propDocumentContainer=DEBUG
Example JSP:
webtop\custom\jsp\com\blah\properties\propDocumentContainer.jsp
The code within this JSP is compiled dynamically by Tomcat. So, how do you register the DfLogger?
Note: I am currently working around this by using System.out.println which sends it to tomcat stdout. But, would prefer to get it into the webtop logger.