Skip to content

danielsan/node_stream_tail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Stream Tail

Stream a log file to a web page for easy log viewing.

Change filename to your log file name in stream.js.

Requirements

Node.js v0.4.1 or higher.

Installation

git clone https://github.com/zpoley/node_stream_tail.git  

Configuration

Change logfilename in stream.js to the log you'd like to tail on your machine.

Run

node server.js /path/to/file.log PORTNUM

Example

node server.js /var/log/mail.log 8082
node server.js /var/log/xapp.log 8083

To see your log on browser

visit (http://localhost:8082)

Thanks

this project respectfully uses code from and thanks the authors of:

About

node.js demo: stream tail -f over http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%