added log setup