summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http_auth.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http_auth.erl b/src/http_auth.erl
index 276e1cd..2cee51f 100644
--- a/src/http_auth.erl
+++ b/src/http_auth.erl
@@ -69,7 +69,6 @@ check_acl(Method, KeyName, Path) ->
allowed_clients
end,
ACL = plopconfig:get_env(EnvVarName, []),
- lager:debug("ACL: ~p", [ACL]),
case lists:keyfind(Path, 1, ACL) of
{_, noauth} ->
lager:debug("Anonymous access allowed"),
@@ -83,7 +82,8 @@ check_acl(Method, KeyName, Path) ->
failure
end;
false ->
- lager:debug("No allowed keys found for: ~p", [Path]),
+ lager:debug("ACL: ~p", [ACL]),
+ lager:info("No allowed keys found for: ~p", [Path]),
failure
end.