From befec768669949a05f554cd96edbd144f5fc2616 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 24 Oct 2018 22:48:42 -0700 Subject: [PATCH] Add logging checkstye rule Add checkstyle rule to ensure SLF4J is not used. Closes gh-14911 --- src/checkstyle/checkstyle-suppressions.xml | 8 ++++++-- src/checkstyle/checkstyle.xml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index da89bd286d..a8d5a952c4 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -24,9 +24,13 @@ - + - + + + + + diff --git a/src/checkstyle/checkstyle.xml b/src/checkstyle/checkstyle.xml index 607675132f..9e299a5710 100644 --- a/src/checkstyle/checkstyle.xml +++ b/src/checkstyle/checkstyle.xml @@ -9,7 +9,7 @@ + value="^reactor\.core\.support\.Assert, ^org\.junit\.rules\.ExpectedException, ^org\.slf4j\.LoggerFactory" />