[ https://issues.apache.org/jira/browse/SOLR-14138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17001792#comment-17001792 ]
ASF subversion and git services commented on SOLR-14138: -------------------------------------------------------- Commit b2db7a282b1bf0f9e3c1a8ad5440d98032d8111f in lucene-solr's branch refs/heads/jira/SOLR-14138 from Robert Muir [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b2db7a2 ] SOLR-14138: enable request log via environ var > 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 > Priority: Major > > 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