You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/06/02 12:58:27 UTC

[GitHub] [solr] NazerkeBS commented on a diff in pull request #882: SOLR-14699: Update Solr request logs to JSON format

NazerkeBS commented on code in PR #882:
URL: https://github.com/apache/solr/pull/882#discussion_r887922668


##########
solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java:
##########
@@ -893,7 +893,7 @@ private void handleAdminRequest() throws IOException {
             handler != null
                 ? MarkerFactory.getMarker(handler.getClass().getName())
                 : MarkerFactory.getMarker(HttpSolrCall.class.getName()),
-            solrResp.getToLogAsString("[admin]"));
+            solrResp.getToLogAsString("admin"));

Review Comment:
   I see there is another place where #getToLogAsString is called with a different prefix: `rspObject.getToLogAsString("TaskId: " + this.taskId);`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org