fix a bug.
modify logger threshold.