diff --git a/pmd/etc/changelog.txt b/pmd/etc/changelog.txt
index b2fd91c04b..97ec6554cc 100644
--- a/pmd/etc/changelog.txt
+++ b/pmd/etc/changelog.txt
@@ -40,6 +40,7 @@ New rule:
StrictExceptions : AvoidCatchingGenericException, AvoidLosingExceptionInformation
Naming : GenericsNaming
JSP: NoInlineScript
+ Logging with Jakarta Commons ruleset: GuardDebugLogging
February 08, 2009 - 4.2.5:
diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/loggingjakartacommons/LoggingJakartaCommonsRulesTest.java b/pmd/regress/test/net/sourceforge/pmd/rules/loggingjakartacommons/LoggingJakartaCommonsRulesTest.java
index da8a9a8d53..343f3145c6 100644
--- a/pmd/regress/test/net/sourceforge/pmd/rules/loggingjakartacommons/LoggingJakartaCommonsRulesTest.java
+++ b/pmd/regress/test/net/sourceforge/pmd/rules/loggingjakartacommons/LoggingJakartaCommonsRulesTest.java
@@ -10,6 +10,7 @@ public class LoggingJakartaCommonsRulesTest extends SimpleAggregatorTst {
public void setUp() {
addRule("logging-jakarta-commons", "ProperLogger");
addRule("logging-jakarta-commons", "UseCorrectExceptionLogging");
+ addRule("logging-jakarta-commons", "GuardDebugLogging");
}
public static junit.framework.Test suite() {
diff --git a/pmd/rulesets/logging-jakarta-commons.xml b/pmd/rulesets/logging-jakarta-commons.xml
index ed9aa1e1b6..14afbf300f 100644
--- a/pmd/rulesets/logging-jakarta-commons.xml
+++ b/pmd/rulesets/logging-jakarta-commons.xml
@@ -87,7 +87,53 @@ around, with the restriction that the logger needs to be passed into the constru
}
]]>
-
+
+
+