org.jpos.util
Class SysLogListener
java.lang.Object
org.jpos.util.SysLogListener
- All Implemented Interfaces:
- EventListener, Configurable, LogListener
public class SysLogListener
- extends Object
- implements LogListener, Configurable
SysLog Listener
see www.ietf.org/rfc/rfc3164.txt
<log-listener class="org.jpos.util.SysLogListener">
<property name="facility" value="21" />
<property name="severity" value="5" />
<property name="tags" value="audit, syslog" />
<property name="prefix" value="[jPOS]" />
<property name="syslog.facility" value="21" />
<property name="syslog.severity" value="5" />
<property name="audit.facility" value="21" />
<property name="audit.severity" value="4" />
</log-listener>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYSLOG_PORT
public static final int SYSLOG_PORT
- See Also:
- Constant Field Values
LOG_USER
public static final int LOG_USER
- See Also:
- Constant Field Values
PRI_INFO
public static final int PRI_INFO
- See Also:
- Constant Field Values
SysLogListener
public SysLogListener()
log
public LogEvent log(LogEvent ev)
- Specified by:
log in interface LogListener
setConfiguration
public void setConfiguration(Configuration cfg)
throws ConfigurationException
- Specified by:
setConfiguration in interface Configurable
- Parameters:
cfg - Configuration object
- Throws:
ConfigurationException
Copyright © 1998-2012 jPOS.org. All Rights Reserved.