Skip to content

Commit 64d0f15

Browse files
authored
Stop spamming logs when retrieving AdminWhitelistRule (jenkinsci#6128)
1 parent bf81c20 commit 64d0f15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/java/jenkins/security/s2m/AdminWhitelistRule.java

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public AdminWhitelistRule() {
2222
}
2323

2424
public boolean getMasterKillSwitch() {
25-
LOGGER.log(WARNING, "AdminWhitelistRule no longer has any effect but an attempt was made to read its current configuration value. See https://www.jenkins.io/redirect/AdminWhitelistRule to learn more.", new Exception());
2625
return false;
2726
}
2827

0 commit comments

Comments
 (0)