add strip() for stderr in logging.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>