tweaks logger, disables session.referer_check