adjusted logging.h to use NoLogger if persistency option NVRAM is used