[ https://issues.apache.org/jira/browse/SOLR-14138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17002551#comment-17002551 ]
ASF subversion and git services commented on SOLR-14138: -------------------------------------------------------- Commit 1425d6cbf853a8ab8998f95b6982c065d9bac1c7 in lucene-solr's branch refs/heads/jira/SOLR-14136 from Robert Muir [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=1425d6c ] SOLR-14138: enable request log via environ var, remove deprecated jetty class usage, respect SOLR_LOGS_DIR (#1110) User can now set SOLR_REQUESTLOG_ENABLED=true to enable the jetty request log, instead of editing XML. The location of the request logs will respect SOLR_LOGS_DIR if that is set. The deprecated NCSARequestLog is no longer used, instead it uses CustomRequestLog with NCSA_FORMAT. > Fix commented-out RequestLog in jetty.xml to use non-deprecated class > --------------------------------------------------------------------- > > Key: SOLR-14138 > URL: https://issues.apache.org/jira/browse/SOLR-14138 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Robert Muir > Assignee: Robert Muir > Priority: Major > Fix For: 8.5 > > Time Spent: 0.5h > Remaining Estimate: 0h > > Currently the jetty request logging is disabled (commented out). > But it can be useful, e.g. since it uses a standard logging format and there > are tools to analyze it by default. Also it can be used to detect some > attacks not otherwise logged anywhere else, since they don't make it to solr > servlet: requests blocked at the jetty level (invalid/malformed requests, > ones filtered by jetty IP filtering, etc). > We should switch it from the deprecated NCSARequestLog class, instead to use > the CustomRequestLog with either NCSA_FORMAT or EXTENDED_NCSA_FORMAT. > {quote} > Deprecated. > use CustomRequestLog given format string > CustomRequestLog.EXTENDED_NCSA_FORMAT with a RequestLogWriter > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org