sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-346) Create new FileAppender used in log4j to keep all the logs
Date Mon, 04 Aug 2014 18:12:12 GMT

    [ https://issues.apache.org/jira/browse/SENTRY-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085007#comment-14085007
] 

Sravya Tirukkovalur commented on SENTRY-346:
--------------------------------------------

[~colinma], so here is the output when I apply the patch:

{noformat}
$ git apply sentry-346.v1.patch
fatal: git apply: bad git-diff - expected /dev/null on line 4

$ patch -p0 < sentry-346.v1.patch
(Stripping trailing CRs from patch.)
patching file b/sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/appender/RollingFileWithoutDeleteAppender.java
(Stripping trailing CRs from patch.)
patching file b/sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 289:  
{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
>
>
> 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)

Mime
View raw message