groonga-httpd: extract logger set code