modify logger

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>