added log data capability
fixing buffer that was increased for testing