+ added logging into log file

Signed-off-by: Meng Lu <lumeng.dev@gmail.com>