: One final question: : Even thogh things are working fine, The debug messages that i get from the : JBOSS console shows STDERR. : : A few lines from the JBOSS console while deploying solr.war: : : 11:44:20,578 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM : org.apache.solr.servlet.SolrDispatchFilter init : INFO: SolrDispatchFilter.init() ...
none of those messages are "errors" they are log messages coming from Solr using a variety of log levels (that first one for example is is logged at the "INFO" level. The "ERROR" and "[STDERR]" labels seem to be getting applied by JBoss -- you should consult JBoss documentation to find out how to control it's behavior when dealing with logging from applications. (if i had to guess: the ConsoleHandler writes all messages to System.err and is the default hadler created by the JVM. If JBoss doesn't register any java.util.logging controls (which seems somewhat ridiculous for any non trivial servlet container) the messages might be going through System.err and *then* JBoss is seeing them and reporting them -- which would explain the double timestamps in the log message formating as well) -Hoss