: Right out of the box the jetty request logs have all information
: needed for the GET requests but only the path of POST requests.
: Is it possible to have the POST requests logged the same way the
: GET requests are logged?
:
: If not, may be with a different logger?
the request log generated by jetty is completley independent of any
logging Solr does (or of what slf4j binding solr users) ... it's totally
servlet container dependent.
: The console is redirected to a file and there are both (GET and POST)
: requests logged but it is mixed with all kind of log messages and
: the request logs are not usable with webalizer or other log analyzer.
I'm not certain but i *think* you are talking about solr log messages,
which are routed through the JDK logging by default. unless your servlet
container (or your JVM) configures where those messages should go, they
are written to the STDERR.
Solr logs all sorts of things, inlcuding information about each request,
but the format isn't in any standard "httpd request log" format, because
solr doesn't have access to all of the information neccessary to do that
You can however configure JDK Logging to send certian types of messages
(based on level/logger) to differnet files.
info about configuring JDK logging is in the wiki, and the java
documentation...
http://wiki.apache.org/solr/SolrLogging
http://wiki.apache.org/solr/LoggingInDefaultJettySetup
http://download.oracle.com/javase/1.5.0/docs/guide/logging/overview.html
-Hoss