: Hi, thanks. I looked at these sites, and also the info about "java : logging": : http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html : : But I couldn't really follow the info about configuration for logging.
typically you create a logging.properties file and put it in your classpath -- but there are frequently easier ways to control the logging based on the servlet container that's running Solr. Hence my suggestion that you look at the Jetty wiki page (since you asked about Jetty) ... but i see now that page links you to a jetty tutorial that no longer seems to exist ... which is a pity. I honestly have no idea what the Jetty recommended manner is for configuring JUL as it might be used by webapps like Solr. Jetty has a lot of documentation about how it uses SLF4J if it finds it in the (global) classpath, so you could consider adding the SLF4J jars of your choice, and then configure everything in a single manner externally. : The user manual for SLF4J tells you how to call the log methods - but : not how to actually configure it to write to a file: I think you are missunderstanding the point of SLF4J -- it's an abstraction layer that exists only as an internal API. it has no configuration mechanism of anykind, it just proxies to whatever implementation is wired in at runtime based on the jars that get loaded. solr.war has the slf4j-jdk14-*.jar bundled into it, so it uses JDK (aka JUL aka JDK 1.4) logging by default which (as i mentioned) ... "typically you create a logging.properties file and put it in your classpath -- but there are frequently easier ways to control the logging based on the servlet container that's running Solr." In any case, it soundsl like you did in fact get Java to load your logging.properties file, and you did in fact get log messages into your files, but... ... : And here I can see lots of log stuff... but not my own, so something's not right. ...what is "lots of log stuff" ? ... what is "my own" that you are expecting to see, but aren't? ... what exactly are you doing? (ie: what code did you write, how are you running jetty, where did you put your logging.properties, etc... details, details, details.) -Hoss