added log formatter