fix logger access in stopFactory