[ https://issues.apache.org/jira/browse/SENTRY-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086505#comment-14086505 ]
Sravya Tirukkovalur commented on SENTRY-346: -------------------------------------------- [~colinma], why are the new files in a directory "b" ? {noformat} $ patch -p0< sentry-346.v2.patch patching file b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/appender/RollingFileWithoutDeleteAppender.java patching file b/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java {noformat} > Create new FileAppender used in log4j to keep all the logs > ---------------------------------------------------------- > > Key: SENTRY-346 > URL: https://issues.apache.org/jira/browse/SENTRY-346 > Project: Sentry > Issue Type: Sub-task > Affects Versions: 1.4.0 > Reporter: Colin Ma > Assignee: Colin Ma > Attachments: sentry-346.v1.patch, sentry-346.v2.patch > > > The audit log will be generated by log4j. Currently, the RollingFileAppender > deletes logs after rolling over certain number of time(according to > MaxBackupIndex property). In order to keep all audit logs, there need a new > FileAppender. -- This message was sent by Atlassian JIRA (v6.2#6252)