Consolidated procedureLog and setupProcedureLog into procedureLog