set log level before returning, if logger already has handlers.