beginning rewrite of HTTP interface for logger script