rewrote http interface of logger to use built-in http daemon