add redirect to log