On 5/20/2013 10:44 AM, Boogie Shafer wrote:
BUT i havent figured out what i need to do to get the logging events to
display in the SOLR admin ui

e.g. at http://solr-hostname:8983/solr/#/~logging

The logging page in the UI is populated by log watcher classes specific to the logging implementation. Prior to 4.3, the only watcher available in released Solr versions was the one for java.util.logging. The log4j watcher was incorporated in the 4.3.0 release. I have been using log4j since 4.1-SNAPSHOT, but I don't yet have any 4.3 servers in production, so I can't get logs in my UI.

To get log events in the UI with logback, you would need to implement a watcher specifically for logback. I don't think this is a high priority item for the project at the moment, but patches are welcome.

AND
i'm wondering if its possible to get the jetty start log managed under
logback

On my setup using the jetty included with Solr and the slf4j/log4j jars in lib/ext, all jetty log entries are logged to the same file as my Solr logs, according to my log4j.properties file.

If you have any logging config for jetty itself, then that will be used. The easiest way to proceed is to simply comment or remove that logging config. That will cause jetty to find slf4j in the classpath and use it, which you have already configured to use logback. The example jetty config does not have any logging configured.

Thanks,
Shawn

Reply via email to