test for log binding

and using the log in errbacks too like @dreid suggested