Skip to content

Commit

Permalink
use separate log directories for client and server
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Sep 13, 2019
1 parent edacd68 commit d3d7c68
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
logs/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ setup](https://github.com/h2o/h2o-qns).
docker-compose up
```
A mounted directory, `qnslogs`, is provided for recording logs from the
endpoints. This directory is created by docker-compose in the directory from
which it is run. Inside the docker container, the directory is available as
`/qnslogs`.
A mounted directory is provided for recording logs from the endpoints.
docker-compose creates a `logs/server` and `logs/client` directory from
the directory from which it is run. Inside the docker container, the
directory is available as `/logs`.
## Debugging and FAQs
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
stdin_open: true
tty: true
volumes:
- ./qnslogs:/qnslogs
- ./logs/server:/logs
environment:
- ROLE=server
- SERVER_PARAMS=$SERVER_PARAMS
Expand All @@ -48,7 +48,7 @@ services:
stdin_open: true
tty: true
volumes:
- ./qnslogs:/qnslogs
- ./logs/client:/logs
environment:
- ROLE=client
- CLIENT_PARAMS=$CLIENT_PARAMS
Expand Down

0 comments on commit d3d7c68

Please sign in to comment.