phoenix_cowboy_logging v1.0.0 PhoenixCowboyLogging
Adds some logging to Cowboy so that we see something if cowboy rejects a request while accepting or parsing it.
When cowboy fails to parse an request it calls onreponse/4
with a completely
bogus request. Nothing about it should be trusted.
Summary
Functions
Adds the settings needed to enable the logging. This much be called before
starting the Phoenix endpoint so it should be called early in every Phoenix
application’s start
function
Callback that does the logging
Functions
Adds the settings needed to enable the logging. This much be called before
starting the Phoenix endpoint so it should be called early in every Phoenix
application’s start
function.