Skip to content

Commit 0c16edf

Browse files
committed
refactor(Firewall): 移除 CC 防火墙调试日志
- 移除了 CC 防火墙允许请求时的调试打印语句 - 保持防火墙核心逻辑不变 - 清理了不必要的控制台输出代码
1 parent 15f30d4 commit 0c16edf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/b3log/symphony/util/Firewall.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ public static boolean recordAndMaybeBan(final String ip) {
112112
return false;
113113
}
114114

115-
System.out.println("CC firewall allowed " + ip + " [" + counter.count.sum() + "]");
116-
117115
return !BANNED.contains(ip);
118116
}
119117

0 commit comments

Comments
 (0)