You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by ryan mckinley <ry...@gmail.com> on 2006/12/22 21:22:48 UTC
howto configure logging?
What is the best way to configure the log level etc? I know how to do
this with log4j, but not java.util.logging.
Is there something better then: log.setLevel( Level.FINE )?
thanks
Re: howto configure logging?
Posted by Chris Hostetter <ho...@fucit.org>.
in general, this can be controlled using a LogManager that can either be a
class you want to use, or a properties file, it's specified using a system
property .... the java logging documentation explains all of htis...
http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html#1.8
But a lot of "enterprise" servlet containers have their own way to
specifying what logging configuration options you want it to be using when
it starts up the individual webapps.
-Hoss