Skip to content

Commit 91a9d0d

Browse files
committed
grammar and such
1 parent 1a731a5 commit 91a9d0d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ The simplest way to use logspout is to just take all logs and ship to a remote s
2020

2121
$ docker run -v=/var/run/docker.sock:/tmp/docker.sock progrium/logspout syslog://logs.papertrailapp.com:55555
2222

23-
Logs will be tagged with the container name. The hostname will be the hostname of the logspout container, so you probably want to set it to the hostname of the host by adding `-h $HOSTNAME`.
23+
Logs will be tagged with the container name. The hostname will be the hostname of the logspout container, so you probably want to set the container hostname to the actual hostname by adding `-h $HOSTNAME`.
2424

2525
#### Inspect log streams using curl
2626

27-
Whether or not you run it with a default routing target, if you publish it's port 8000, you can connect with curl to see your local aggregated logs in realtime.
27+
Whether or not you run it with a default routing target, if you publish its port 8000, you can connect with curl to see your local aggregated logs in realtime.
2828

2929
$ docker run -d -p 8000:8000 \
3030
-v=/var/run/docker.sock:/tmp/docker.sock \
3131
progrium/logspout
3232
$ curl $(docker port `docker ps -lq` 8000)/logs
3333

34-
You should see a nicely colored stream of all your container logs. You can also filter by container name, log type, and more. You can also get JSON objects, or you can upgrade to WebSocket and get JSON logs in your browser.
34+
You should see a nicely colored stream of all your container logs. You can filter by container name, log type, and more. You can also get JSON objects, or you can upgrade to WebSocket and get JSON logs in your browser.
3535

3636
See [Streaming Endpoints](#streaming-endpoints) for all options.
3737

0 commit comments

Comments
 (0)