madrob commented on a change in pull request #542:
URL: https://github.com/apache/solr/pull/542#discussion_r789656412



##########
File path: solr/core/src/java/org/apache/solr/util/StartupLoggingUtils.java
##########
@@ -187,4 +187,20 @@ public static String getLogLevelString() {
     else if (rootLogger.isErrorEnabled()) return "ERROR";
     else return "INFO";
   }
+
+  /**
+   * Check whether Jetty request logging is enabled and log info about it.
+   * The property "solr.log.requestlog.enabled is set in 
solr/server/etc/jetty-requestlog.xml
+   */
+  public static void checkRequestLogging() {
+    boolean requestLogEnabled = 
System.getProperty("solr.log.requestlog.enabled", "false").equals("true");

Review comment:
       ```suggestion
       boolean requestLogEnabled = 
Boolean.getBoolean("solr.log.requestlog.enabled");
   ```
   




-- 
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-unsubscr...@solr.apache.org

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



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

Reply via email to