better branch redirection logging