setup a log and a client to commit