Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernvenue/http2log
A simple tool to write log file over HTTP protocol.
https://github.com/fernvenue/http2log
api2log apilog http2log httplog web2log weblog
Last synced: 19 days ago
JSON representation
A simple tool to write log file over HTTP protocol.
- Host: GitHub
- URL: https://github.com/fernvenue/http2log
- Owner: fernvenue
- License: bsd-3-clause
- Created: 2022-09-29T13:55:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-29T15:12:49.000Z (over 2 years ago)
- Last Synced: 2024-06-21T15:42:03.846Z (7 months ago)
- Topics: api2log, apilog, http2log, httplog, web2log, weblog
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# http2log
[![http2log](https://img.shields.io/badge/GitHub-http2log-blueviolet?style=flat-square&logo=github)](https://github.com/fernvenue/http2log)
[![http2log](https://img.shields.io/badge/GitLab-http2log-orange?style=flat-square&logo=gitlab)](https://gitlab.com/fernvenue/http2log)A simple tool to write log file over HTTP protocol.
## Features
- Write file over HTTP protocol;
- HTTP header `X-API-KEY` authentication;## Flags
- `-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 use `127.0.0.1` by default;
- `-p`: Bind port, will use TCP port `8283` by default;