How to set filePermissions in log4j.properties file
问题 I am using slf4j-log4j12 latest version 1.7.25. We are using kibana to view logs, but the Kibana fails to read logs from tomcat. I need to set filePermissions to read files from tomcat in log4j.properties file. filePermissions="rw-r-----" My log4j.properties file, # Put log messages in rolling log file log4j.rootLogger=info, file log4j.logger.com.sample=debug log4j.appender.file=org.apache.log4j.DailyRollingFileAppender log4j.appender.file.File=logs/MyService.log log4j.appender.file