add http logging support for rest