sleighzy / ansible-kafka

Ansible role for installing and configuring Apache Kafka on RedHat and Debian platforms.
MIT License
116 stars 79 forks source link

Use LOG_DIR environment variable for application logs #11

Closed sleighzy closed 3 years ago

sleighzy commented 3 years ago

The application logs are written to the /var/log/kafka directory and symlinked to the /opt/kafka/logs directory.

The value for the LOG_DIR environment variable for the process specifies where the application logs are written. By default the /opt/kafka/logs directory is used if the LOG_DIR environment variable is not present.