Changed logger behaviour so that if loglevel is set to NONE, no logs will ever be created (even empty)