From 50755966d9ed84d6dd7086d64ef5df32db6ddf2b Mon Sep 17 00:00:00 2001 From: Maxime C Date: Tue, 19 Dec 2023 13:25:44 +0100 Subject: [PATCH] Update README.md with Docker container logging parameters --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1e9f88..4f2148a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ It can be used as a standalone microservice and is maintained/distributed as a c ## With Docker * Install [Docker](https://docs.docker.com/engine/install/) * `docker pull leosac/leosac-card-printing-worker:snapshot` - * `docker create --name leosac-cpw --init -p 4000:4000 -v /var/local/lcpw-repo:/data/repository leosac/leosac-card-printing-worker:snapshot` + * `docker create --name leosac-cpw --init -p 4000:4000 -v /var/local/lcpw/repo:/data/repository leosac/leosac-card-printing-worker:snapshot` + * To log traces into a file instead of the console output, add the following parameters to the previous docker create command: `-v /var/local/lcpw/logs:/data/logs -e LOGGING_TYPE=file -e LOGGING_LEVEL=http` * `docker start leosac-cpw` # Configuration