Leszek Gawron wrote:
Vadim Gritsenko wrote:
If you declare system variable:
org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
commons logging will use LogKit. See web.xml, force-property parameter. LogKit is set up by CocoonServlet.
Why isn't this a default setting (at least for cocoon.bat servlet) ?
Tomcat itself also uses commons logging somewhere, and system variables are, well, system-wide - they affect all applications, including tomcat itself and all other deployed web applications. Setting of this parameter then results in weird behavior of logging in tomcat / other applications.
Vadim