fixed logging threshold bug by adding initilize_severity_threshold()