add --log-level-error feature