public class SysLogListener extends java.lang.Object implements LogListener, Configurable
<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>
| Modifier and Type | Field and Description |
|---|---|
static int |
LOG_USER |
static int |
PRI_INFO |
static int |
SYSLOG_PORT |
| Constructor and Description |
|---|
SysLogListener() |
| Modifier and Type | Method and Description |
|---|---|
LogEvent |
log(LogEvent ev) |
void |
setConfiguration(Configuration cfg) |
public static final int SYSLOG_PORT
public static final int LOG_USER
public static final int PRI_INFO
public LogEvent log(LogEvent ev)
log in interface LogListenerpublic void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration in interface Configurablecfg - Configuration objectConfigurationException