Move final log message into the correct scope