'File Permision crated with Logback RollingFileAppender

I am not able to provide permission to my log file in log4j like below: Below is my previous log4j example where I was able to provide permission with file permission attribute of RollingFile appender attribute like "filePermissions="rw-r-----" as mentioned at the link link🔗

How can I achieve the same in logback.xml? any suggestions? I am not able to open my logs file as it says permission denied because it was created with the tomcat process and group.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source