lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wolanin (JIRA)" <>
Subject [jira] [Updated] (SOLR-232) let Solr set request headers (for logging)
Date Sun, 24 Apr 2011 17:51:05 GMT


Peter Wolanin updated SOLR-232:

    Attachment: SOLR-232.patch

Hmm, that check isn't quite right - the ping handler ends up getting:

X-Solr-Hits: null

Since String.valuOf(Object object) has the behavior that if the argument is null, then a string
equal to "null";

This better POC patch checks for null in the right place. Deleted the old one.

> let Solr set request headers (for logging)
> ------------------------------------------
>                 Key: SOLR-232
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>         Environment: tomcat?
>            Reporter: Ian Holsman
>            Priority: Minor
>         Attachments: SOLR-232.patch, meta.patch
> I need the ability to log certain information about a request so that I can feed it into
performance and capacity monitoring systems.
> I would like to know things like
> - how long the request took 
> - how many rows were fetched and returned
> - what handler was called.
> per request.
> the following patch is 1 way to implement this, I'm sure there are better ways.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message