add straightforward logging hook to cowboy