On Mon, Dec 8, 2008 at 10:49 AM, Andy Putnins <[EMAIL PROTECTED]> wrote:
> Natalia - thanks for enlightening me :-).
You're welcome :)
> How about logging - how can I configure xindice/tomcat6 for finer logging to
> a separate (xindice) log file?
You can try this configuration:
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = xindice.
org.apache.xindice.level=DEBUG
org.apache.xindice.handlers=org.apache.juli.FileHandler
These settings should be in the file called logging.properties under
webapps/xindice/WEB-INF/classes directory.
This will put all Xindice messages in a separate file. The addressbook
app uses System.err for printing its error messages and exceptions so
they should end up in tomcat logs directory in catalina.out file. For
addressbook diagnostic messages to appear in separate log file, it has
to use commons-logging and have logging.properties file similar to the
one above.
Natalia
>
> - Andy