From f11040b72b3f646236f04483c27674b49463b7e4 Mon Sep 17 00:00:00 2001 From: Minseok Kim Date: Fri, 10 Nov 2017 15:46:05 +0900 Subject: [PATCH] Fix wrong environment variable name `LOGGING_KAFKA_TOPIC` -> `LOG_TOPIC` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf8a9bca..6209f14c 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,8 @@ For example, to change the topic to "logs" Certain global configurations can be overridden on a per-container basis with container environment variables. For example containers can be configured to write to different topics: ``` -docker run --log-driver mickyg/kafka-logdriver:latest -e LOGGING_KAFKA_TOPIC=alphalogs --name "Alpha" hello-world -docker run --log-driver mickyg/kafka-logdriver:latest -e LOGGING_KAFKA_TOPIC=betalogs --name "Beta" hello-world +docker run --log-driver mickyg/kafka-logdriver:latest -e LOG_TOPIC=alphalogs --name "Alpha" hello-world +docker run --log-driver mickyg/kafka-logdriver:latest -e LOG_TOPIC=betalogs --name "Beta" hello-world ``` The logs from the container "Alpha" will be written to "alphalogs", the logs from container "beta" will be written to "betalogs"