I'm using log4J in a JSP with taglibs-log. I'm trying to configure the
log4j.xml such that it will put the JSP log message in a particular log file
based on the JSP/servlet package. So far, I have not been successful.
Does anyone have ideas how to configure a log4j.xml to log JSP messages to
package based log files?
<logger name="jsp_servlet._capa" additivity="false">
<priority value="info"/>
<appender-ref ref="JSPcapa"/>
</logger>
We have "capa" directory with JSP pages in it. The webserver compiles the jsp
to jsp_servlet\_capa with the class package: package jsp_servlet._capa