[
https://issues.apache.org/jira/browse/CASSANDRA-16682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348789#comment-17348789
]
Sarma Pydipally commented on CASSANDRA-16682:
---------------------------------------------
OK. After modifying my logback.xml it is working.
# audit is now going into audit.log
# documentation has provided sample entry for audit into logback.xml — however
documentation has no mention where to add it ... by looking at formatting of
that xml i know it is logback.xml file ... others might not know.
# Cassandra 4.x software itself should ship with default logback.xml with
these required entries ... it does not harm to have the logback.xml entries ...
since auditing is enabled or disabled via cassandra.yaml
It is still not honoring my request to "excluded_categories: QUERY, DML" and
still recording everything.
> Cassandra 4.0 RC1 ... Audit Logs going to wrong location
> --------------------------------------------------------
>
> Key: CASSANDRA-16682
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16682
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/auditlogging
> Reporter: Sarma Pydipally
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.0-rc
>
>
> Version : Cassandra 4.0 RC1
> Settings in my : <CASSANDRA_HOME>/conf/cassandra.yaml
> {code:yaml}
> audit_logging_options:
> enabled: true
> logger:
> - class_name: FileAuditLogger
> excluded_categories: QUERY, DML
> audit_logs_dir: "/apps/opt/cassandra/logs/audit"
> roll_cycle: DAILY
> block: false
> {code}
> After restart of Cassandra ... I can see the Audit Logs. But they are going
> into system.log and debug.log. They are NOT going into
> {noformat}
> "/apps/opt/cassandra/logs/audit/audit.log"{noformat}
>
> Also noticed that : it does not ignore the "excluded_categories" and logs
> everything ...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]