public class Log4JLoggerService extends java.lang.Object implements LoggerService
SECURITY_LOG| Constructor and Description |
|---|
Log4JLoggerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
AppContext is being closed. |
Logger |
getLogger(java.lang.Class c) |
Logger |
getLogger(java.lang.String name) |
java.lang.Class<? super LoggerService> |
getType()
Returns the type of service the class should be registered under.
|
void |
securityEvent(java.lang.String event,
SessionService sess,
java.util.Map context)
Log a security event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialiseLogging, securityEvent, shutdownLoggingpublic java.lang.Class<? super LoggerService> getType()
AppContextServicegetType in interface AppContextService<LoggerService>public void cleanup()
AppContextCleanupAppContext is being closed.
Only use this for cleanup that can't be handled by
normal garbage collection or for state which is never returned by reference.cleanup in interface AppContextCleanuppublic Logger getLogger(java.lang.String name)
getLogger in interface LoggerServicepublic Logger getLogger(java.lang.Class c)
getLogger in interface LoggerServicepublic void securityEvent(java.lang.String event,
SessionService sess,
java.util.Map context)
LoggerServicesecurityEvent in interface LoggerServicesess - SessionService