Hrotkó Gábor
commented on
LOGBACK-173
Log Rotation/Gzip process leaving .tmp files behind
Ok, the difference is that we use java security turned on, on prod tomcat.
We have to use this in conf/catalina.policy
grant codeBase "file:${catalina.base}/webapps/MYAPP/WEB-INF/lib/MYLOGBACKJAR" {
permission java.io.FilePermission "${catalina.base}/logs/*", "read,write,delete";
};
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your
JIRA administrators
.
For more information on JIRA, see:
http://www.atlassian.com/software/jira
We have to use this in conf/catalina.policy
grant codeBase "file:${catalina.base}/webapps/MYAPP/WEB-INF/lib/MYLOGBACKJAR" {
permission java.io.FilePermission "${catalina.base}/logs/*", "read,write,delete";
};