From 33b7c4816672cbe072c644805bf1039c1ba49c87 Mon Sep 17 00:00:00 2001 From: Domagoj Trsan Date: Fri, 19 Jun 2020 10:21:11 +0100 Subject: [PATCH 1/2] Allow to override log level for root --- README.md | 6 ++++++ src/main/resources/logback.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 783e9b9..72f9e8a 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,12 @@ They can be used as follows: docker run -it --rm -p 9000:9000 -e KAFKA_ENDPOINT=127.0.0.1:9092 registry.opensource.zalan.do/machina/remora ``` +Run it with different log level: + +```bash +docker run -it --rm -p 9000:9000 -e KAFKA_ENDPOINT=127.0.0.1:9092 -e 'JAVA_OPTS=-Dlogback-root-level=INFO' remora +``` + For further examples see the [docker-compose.yml](basic-example/docker-compose.yml) ```bash diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 4e0a776..3f13805 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -10,7 +10,7 @@ - + From 7d93405416737fc13d2037188eaac51b2da21735 Mon Sep 17 00:00:00 2001 From: Domagoj Trsan Date: Mon, 22 Jun 2020 09:23:38 +0100 Subject: [PATCH 2/2] Fix image name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 72f9e8a..088e17d 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ docker run -it --rm -p 9000:9000 -e KAFKA_ENDPOINT=127.0.0.1:9092 registry.opens Run it with different log level: ```bash -docker run -it --rm -p 9000:9000 -e KAFKA_ENDPOINT=127.0.0.1:9092 -e 'JAVA_OPTS=-Dlogback-root-level=INFO' remora +docker run -it --rm -p 9000:9000 -e KAFKA_ENDPOINT=127.0.0.1:9092 -e 'JAVA_OPTS=-Dlogback-root-level=INFO' registry.opensource.zalan.do/machina/remora ``` For further examples see the [docker-compose.yml](basic-example/docker-compose.yml)