Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 535 Bytes

File metadata and controls

31 lines (19 loc) · 535 Bytes

Logviewer

Logviewer allows you to tail files to the web for sharing with other people.

Requirements:

  • Python >= 3.6
  • aiohttp
  • aiohttp_jinja2

Install Logviewer:

$ pip3 install logviewer

Usage:

$ logviewer -f /path/to/file.log --port 8080
$ tail -f /path/to/file.log | logviewer

Command line options are:

-p PORT, --port PORT  Specify the webserver port (default to 8080)
-f FILE, --file FILE  File path (default to stdin)