diff --git a/lib/spacesuit/auth_middleware.ex b/lib/spacesuit/auth_middleware.ex index 57a38d3..45cf8b6 100644 --- a/lib/spacesuit/auth_middleware.ex +++ b/lib/spacesuit/auth_middleware.ex @@ -30,7 +30,7 @@ defmodule Spacesuit.AuthMiddleware do # Otherwise we blow up the request unexpected -> - Logger.error("auth_middleware error: unexpected response - #{inspect(unexpected)}") + Logger.info("auth_middleware error: unexpected response - #{inspect(unexpected)}") error_reply(req, 401, "Bad Authentication Token") {:stop, req} end diff --git a/lib/spacesuit/proxy_handler.ex b/lib/spacesuit/proxy_handler.ex index bdde2fe..e3ed5fa 100644 --- a/lib/spacesuit/proxy_handler.ex +++ b/lib/spacesuit/proxy_handler.ex @@ -128,7 +128,7 @@ defmodule Spacesuit.ProxyHandler do {:more, _body, _downstream} -> # TODO this doesn't handle large bodies - Logger.error("Request body too large! Size was #{:cowboy_req.body_length(downstream)}") + Logger.info("Request body too large! Size was #{:cowboy_req.body_length(downstream)}") end else @http_client.request(method, url, ups_headers, [], [])