Details
-
Improvement
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
SolrQueryResponse.getToLogAsString encodes the NamedList into a String with simple space-separated pairs with name=value. However, it does no escaping/encoding, and as-such a value might itself contain spaces and equals. This is a problem if these logs are being parsed, and we'd like to ensure we do so correctly. Note that SolrLogPostTool (aka "postlogs") parses these logs.
Attachments
Issue Links
- relates to
-
SOLR-15610 Support json formatted logging via conf: add log4j-layout-template-json to 'server'
- Closed
- links to