A simple tool to write log file over HTTP protocol.
- Write file over HTTP protocol;
- HTTP header
X-API-KEY
authentication;
-u
: URL path of log interface, will use/http2log
by default;-k
: HTTP header 'X-API-KEY' content, will read the environment variable if not set;-f
: Path to log file, will use/var/log/http2log.log
by default;-a
: Bind address, will use127.0.0.1
by default;-p
: Bind port, will use TCP port8283
by default;