Log improvement
add basic example