sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Ma (JIRA)" <>
Subject [jira] [Commented] (SENTRY-346) Create new FileAppender used in log4j to keep all the logs
Date Mon, 04 Aug 2014 01:22:12 GMT


Colin Ma commented on SENTRY-346:

hi @sravya, thanks for review. A new FileAppender for log4j is implemented in this patch.
For this new FileAppender, we can do the configuration in the, eg:
    log4j.logger.sentry.hive.authorization.ddl.logger=INFO, sentryAudit 

The Navigator in CDH want to keep all audit logs, and the new FileAppender(RollingFileWithoutDeleteAppender)
 is implemented for this purpose. Any comments are welcome, thanks.

> Create new FileAppender used in log4j to keep all the logs
> ----------------------------------------------------------
>                 Key: SENTRY-346
>                 URL:
>             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

View raw message