org.apache.archiva.audit
Class AuditLog

java.lang.Object
  extended by org.apache.archiva.audit.AuditLog
All Implemented Interfaces:
AuditListener

@Service(value="auditListener#logging")
public class AuditLog
extends Object
implements AuditListener

AuditLog - Audit Log.


Field Summary
private static char DELIM
           
static org.slf4j.Logger logger
           
private static String NONE
           
 
Constructor Summary
AuditLog()
           
 
Method Summary
 void auditEvent(AuditEvent event)
          Creates a log message in the following format ...
private  String checkNull(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final org.slf4j.Logger logger

NONE

private static final String NONE
See Also:
Constant Field Values

DELIM

private static final char DELIM
See Also:
Constant Field Values
Constructor Detail

AuditLog

public AuditLog()
Method Detail

auditEvent

public void auditEvent(AuditEvent event)
Creates a log message in the following format ... "{repository_id} {user_id} {remote_ip} \"{resource}\" \"{action}\""

Specified by:
auditEvent in interface AuditListener
Parameters:
event - the event details.

checkNull

private String checkNull(String s)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.