Add logging to debug redirect whitelist problems