fixing a bug in logging to allow
changing default logging handler to WARNING