Fix bug to allow logging in all directions