A simple tool to write log file over HTTP protocol.
go install github.com/fernvenue/http2log@latest- Write file over HTTP protocol;
- HTTP header
X-API-KEYauthentication;
-u,--url-path: URL path of log interface, will use/http2logby default.-k,--api-key: HTTP header 'X-API-KEY' content, will read the environment variable if not set.-f,--file-path: Path to log file, will use/var/log/http2log.logby default.-a,--listen-address: Bind address, will use127.0.0.1by default.-p,--listen-port: Bind port, will use TCP port8283by default.-v,--version: Print version and exit.-h,--help: Print help and exit.