added log support