You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/05/20 19:27:00 UTC

[jira] [Comment Edited] (CASSANDRA-16682) Cassandra 4.0 RC1 ... Audit Logs going to wrong location

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

Ekaterina Dimitrova edited comment on CASSANDRA-16682 at 5/20/21, 7:26 PM:
---------------------------------------------------------------------------

Hi [~oramad],

I think you might be missing to follow this instruction maybe:

[https://cassandra.apache.org/doc/latest/operating/audit_logging.html?highlight=audit%20logging#configuring-fileauditlogger]

After I made this addition to my logback.xml, everything worked as expected. Can you, please, verify this?

In the meanwhile I am looking at the other issue about ignoring the "excluded_categories".


was (Author: e.dimitrova):
Hi [~oramad],

I think you might be missing to follow this instruction maybe:

[https://cassandra.apache.org/doc/latest/operating/audit_logging.html?highlight=audit%20logging#configuring-fileauditlogger]

After I made this addition to my logbook.xml, everything worked as expected. Can you, please, verify this?

In the meanwhile I am looking at the other issue about ignoring the "excluded_categories".

> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org