add log stream configuration and callback