Skip to content

fernvenue/http2log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http2log

A simple tool to write log file over HTTP protocol.

Installation

go install github.com/fernvenue/http2log@latest

Features

  • Write file over HTTP protocol;
  • HTTP header X-API-KEY authentication;

Flags

  • -u, --url-path: URL path of log interface, will use /http2log by 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.log by default.
  • -a, --listen-address: Bind address, will use 127.0.0.1 by default.
  • -p, --listen-port: Bind port, will use TCP port 8283 by default.
  • -v, --version: Print version and exit.
  • -h, --help: Print help and exit.

About

A simple tool to write log file over HTTP protocol.

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages