add_logs runtime fix