logs redirecting improvements