Added logging to spec file