GitHub user jackylk opened a pull request:
https://github.com/apache/carbondata/pull/2885
[CARBONDATA-3064] Support separate audit log
A new audit log is implemented as following:
1. a framework is added for carbon command to record the audit log
automatically, see command/package.scala
2. Audit logs are output by Auditor.java, log4j config example is provided
in Auditor.java file comment
3. old audit log is removed
- [X] Any interfaces changed?
Internal interface change
- [X] Any backward compatibility impacted?
Yes
- [X] Document update required?
Yes
- [X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
- [X] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jackylk/incubator-carbondata auditlog
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2885.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2885
----
commit ba8443390a5607e1bff7967645dd739d63a1c937
Author: Jacky Li <jacky.likun@...>
Date: 2018-10-31T06:49:38Z
add framework for audit log
commit 10772381609c550a372c62b2465c52f9dfe689f7
Author: Jacky Li <jacky.likun@...>
Date: 2018-10-31T08:01:16Z
remove old audit log
----
---