readme, lint

This commit is contained in:
Lloyd Brookes
2014-02-05 15:28:23 +01:00
parent 88ec4906d7
commit 85266f91e0
3 changed files with 46 additions and 7 deletions

View File

@ -54,4 +54,24 @@ Alternatively, pipe directly from ws into logstalgia for real-time visualisation
$ ws --log-format default | logstalgia -
```
Use with glTail
---------------
To use with [glTail](http://www.fudgie.org), write your log to disk using the "default" format:
```sh
$ ws -f default > web.log
```
Then specify this file in your glTail config:
```yaml
servers:
dev:
host: localhost
source: local
files: /Users/Lloyd/Documents/MySite/web.log
parser: apache
color: 0.2, 0.2, 1.0, 1.0
```
[![NPM](https://nodei.co/npm-dl/local-web-server.png?months=3)](https://nodei.co/npm/local-web-server/)