added log output