add http handler for log