added log config

console example