How to change log directory for Kibana?

I have used logging.dest in my kibana.yml but I don't see logs being generated in this location. I have also created a file "kibana.log" expecting it would write to it but no luck. The file has all the permissions.

logging.dest: /opt/logs/kibana.log

This is the file permissions
-rwxrwxr-x. 1 root root 0 May 8 15:35 kibana.log

It works for us, when I changed

Enables you specify a file where Kibana stores log output.

logging.dest: /elk/kibana/logs/kibana-7-6-log

and restarted the KIbana