refine log
add log tank config, default to console.
fix bug of get daemon