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



##########
File path: solr/core/src/java/org/apache/solr/util/StartupLoggingUtils.java
##########
@@ -187,4 +187,19 @@ public static String getLogLevelString() {
     else if (rootLogger.isErrorEnabled()) return "ERROR";
     else return "INFO";
   }
+
+  /**
+   * Check whether Jetty requestlogging is enabled and log info about it
+   */
+  public static void checkRequestLogging() {
+    boolean requestLogEnabled = System.getProperty("sun.java.command", 
"").contains("module=requestlog");

Review comment:
       Ok, I found a trick, where I could set a sysprop in 
`solr/server/etc/jetty-requestlog.xml` by some xml tags, so now I check on that 
instead.




-- 
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