lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [2/2] lucene-solr:branch_7x: SOLR-12557: standardise solr/core (private) logger names
Date Tue, 31 Jul 2018 16:42:33 GMT
SOLR-12557: standardise solr/core (private) logger names


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/75b44dbf
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/75b44dbf
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/75b44dbf

Branch: refs/heads/branch_7x
Commit: 75b44dbf2ef4d5ea7500798abcaf72e2a347a9af
Parents: d5b6af9
Author: Christine Poerschke <cpoerschke@apache.org>
Authored: Tue Jul 31 17:00:11 2018 +0100
Committer: Christine Poerschke <cpoerschke@apache.org>
Committed: Tue Jul 31 17:24:30 2018 +0100

----------------------------------------------------------------------
 lucene/tools/src/groovy/check-source-patterns.groovy | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/75b44dbf/lucene/tools/src/groovy/check-source-patterns.groovy
----------------------------------------------------------------------
diff --git a/lucene/tools/src/groovy/check-source-patterns.groovy b/lucene/tools/src/groovy/check-source-patterns.groovy
index 63541c2..d7af361 100644
--- a/lucene/tools/src/groovy/check-source-patterns.groovy
+++ b/lucene/tools/src/groovy/check-source-patterns.groovy
@@ -173,6 +173,9 @@ ant.fileScanner{
       if (f.toString().contains('solr/contrib') && !validLoggerNamePattern.matcher(text).find())
{
         reportViolation(f, 'invalid logger name [not log or LOG]');
       }
+      if (f.toString().contains('solr/core') && !validLoggerNamePattern.matcher(text).find())
{
+        reportViolation(f, 'invalid logger name [not log or LOG]');
+      }
     }
     checkLicenseHeaderPrecedes(f, 'package', packagePattern, javaCommentPattern, text, ratDocument);
     if (f.name.contains("Test")) {


Mime
View raw message