0

为这个广泛使用的 docker 映像配置日志记录的环境变量是哪些?
如何在以下docker-compose.yaml中配置 zookeeper 根记录器级别?

version: '3.8'

services:
  zookeeper:
    image: strimzi/kafka:latest-kafka-2.0.1
    command: ["sh", "-c","bin/zookeeper-server-start.sh config/zookeeper.properties"]
    ports:
      - 2181:2181
    environment:
        ## Where are this env variables specified??
        LOG_DIR: /tmp/logs

参考:
srimzi 文档
srimzi 操作员配置日志记录

4

0 回答 0