############################# Log Basics #############################
#log.dirs=/tmp/kafka-logs
log.dirs=/var/log/kafka
sudo mkdir -p /var/log/kafka and then
sudo chmod 777 /var/log/kafka
ps: the tmp folder to which it was pointing initially is a temporary folder, so not very stable, you might have missed permissions or something and your kafka couldn't create logs there.
you won't need to change folders from now on
you created a kafka folder in the /var/logs/ location and kafka is going to store logs there from now on
What I need to do if the folder is full again?
rm -rf /var/log/kafka/*