Added rmdir logging.