Output log in console instead of screen

Change-Id: Ica44fff8472afab80579cde90afd5a8d1ec4de0a
Signed-off-by: Bao Zhen <bz@infthink.com>