Browse Source

readme

master
Lloyd Brookes 12 years ago
parent
commit
dde4b3ebf1
  1. 6
      README.md

6
README.md

@ -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
``` ```

Loading…
Cancel
Save