Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use v3 configuration for log4J ranger audit logging #851

Closed
PACordonnier opened this issue Jul 5, 2024 · 1 comment
Closed

Use v3 configuration for log4J ranger audit logging #851

PACordonnier opened this issue Jul 5, 2024 · 1 comment

Comments

@PACordonnier
Copy link
Member

Log4j destination for ranger audit logging is declared using v2 configuration. It wont be read since there are v3 configurations declared. It should be migrated to v3 configuration (if it exists ?).

Example of legacy v2 config

roles/yarn/common/templates/install_yarn.properties.j2

{% if enable_ranger_audit_log4j %}
# log4j audit
XAAUDIT.LOG4J.IS_ENABLED=true
XAAUDIT.LOG4J.DESTINATION=true
XAAUDIT.LOG4J.DESTINATION.LOGGER=xaaudit
{% endif %}
@PACordonnier
Copy link
Member Author

Fixed by #847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant