add log for client
design provider in docstring