This commit is contained in:
Lloyd Brookes
2013-06-15 00:50:27 +01:00
parent cdb51e71cb
commit dde4b3ebf1

View File

@ -16,18 +16,18 @@ From the folder you wish to serve, run:
```sh ```sh
$ ws [--port|-p <port>] [--log-format|-p dev|default|short|tiny] $ ws [--port|-p <port>] [--log-format|-p dev|default|short|tiny]
``` ```
The default `port` and `log-format` are `8000` and `dev`, respectively. The default port and log-format are 8000 and "dev", respectively.
Use with Logstalgia Use with Logstalgia
=================== ===================
The `default` log-format is compatible with [logstalgia](http://code.google.com/p/logstalgia/). The "default" log-format is compatible with [logstalgia](http://code.google.com/p/logstalgia/).
If you wrote your log output to disk, like so: If you wrote your log output to disk, like so:
```sh ```sh
$ ws --log-format default > web.log $ ws --log-format default > web.log
``` ```
Then you could visualise in logstalgia: Then you could visualise in logstalgia with:
```sh ```sh
$ logstalgia web.log $ logstalgia web.log
``` ```