added logging to resource manager