Browse Source

add debug log

tags/2.0.1
Jonathan Cobb 4 years ago
parent
commit
0940a4c131
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/main/java/bubble/abp/BubbleBlockCondition.java

+ 1
- 0
src/main/java/bubble/abp/BubbleBlockCondition.java View File

@@ -45,6 +45,7 @@ public class BubbleBlockCondition {
} }


public boolean matches(String fqdn, String path, String contentType, String referer) { public boolean matches(String fqdn, String path, String contentType, String referer) {
if (log.isDebugEnabled()) log.debug("matches(fqdn="+fqdn+", path="+path+", contentType="+contentType+", referer="+referer+") with field="+field+", operation="+operation);
switch (field) { switch (field) {
case host: return operation.matches(fqdn, value); case host: return operation.matches(fqdn, value);
case path: return operation.matches(path, value); case path: return operation.matches(path, value);


Loading…
Cancel
Save