accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dylan Hutchison <dhutc...@mit.edu>
Subject Log4j: Removing Audit messages
Date Mon, 16 Mar 2015 00:57:23 GMT
Hi there,

I'd like to stop appending INFO-level AUDIT log messages to the regular and
debug tserver log files. Here is an example log:

2015-03-15 20:39:26,970 [Audit   ] INFO : operation: permitted; user: root;
client: 127.0.0.1:41256;


I'm confused how log4j is setup (see ACCUMULO-3546
<https://issues.apache.org/jira/browse/ACCUMULO-3546>).  I tried appending
variants of

log4j.logger.Audit=WARN


to $ACCUMULO_HOME/conf/log4j.properties, but no luck.  There is also the
generic_logger.xml and generic_logger.properties.

This line of code
from org.apache.accumulo.server.security.AuditedSecurityOperation is
relevant:


public static final String AUDITLOG = "Audit";
public static final Logger audit = Logger.getLogger(AUDITLOG);


I want to stop this logger.

Regards,
Dylan Hutchison

Mime
View raw message