add /log /clearlog for http server