public interface ConfigSysLogAppender extends ConfigAppender
ConfigSysLogAppender
takes charge of
managing Unix syslog appender specific properties.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
FACILITIES
Properties for the UNIX syslog facility contain
|
static java.lang.String |
FACILITY_AUTH
Property for the UNIX syslog facility AUTH.
|
static java.lang.String |
FACILITY_AUTHPRIV
Property for the UNIX syslog facility AUTHPRIV.
|
static java.lang.String |
FACILITY_CRON
Property for the UNIX syslog facility CRON.
|
static java.lang.String |
FACILITY_DAEMON
Property for the UNIX syslog facility DAEMON.
|
static java.lang.String |
FACILITY_FTP
Property for the UNIX syslog facility FTP.
|
static java.lang.String |
FACILITY_KERN
Property for the UNIX syslog facility KERN.
|
static java.lang.String |
FACILITY_LOCAL0
Property for the UNIX syslog facility LOCAL0.
|
static java.lang.String |
FACILITY_LOCAL1
Property for the UNIX syslog facility LOCAL1.
|
static java.lang.String |
FACILITY_LOCAL2
Property for the UNIX syslog facility LOCAL2.
|
static java.lang.String |
FACILITY_LOCAL3
Property for the UNIX syslog facility LOCAL3.
|
static java.lang.String |
FACILITY_LOCAL4
Property for the UNIX syslog facility LOCAL4.
|
static java.lang.String |
FACILITY_LOCAL5
Property for the UNIX syslog facility LOCAL5.
|
static java.lang.String |
FACILITY_LOCAL6
Property for the UNIX syslog facility LOCAL6.
|
static java.lang.String |
FACILITY_LOCAL7
Property for the UNIX syslog facility LOCAL7.
|
static java.lang.String |
FACILITY_LPR
Property for the UNIX syslog facility LPR.
|
static java.lang.String |
FACILITY_MAIL
Property for the UNIX syslog facility MAIL.
|
static java.lang.String |
FACILITY_NEWS
Property for the UNIX syslog facility NEWS.
|
static java.lang.String |
FACILITY_SYSLOG
Property for the UNIX syslog facility SYSLOG.
|
static java.lang.String |
FACILITY_USER
Property for the UNIX syslog facility USER.
|
static java.lang.String |
FACILITY_UUCP
Property for the UNIX syslog facility UUCP.
|
DST_CONSOLE, DST_DAILY_ROLLING_FILE, DST_FILE, DST_LF5, DST_NTLOG, DST_ROLLING_FILE, DST_SOCKET, DST_SYSLOG, DST_TELNET, LAYOUT_HTML, LAYOUT_PATTERN, LAYOUT_SIMPLE, LAYOUT_TTCC, LAYOUT_XML, LAYOUTS, THRESHOLD_ALL, THRESHOLD_DEBUG, THRESHOLD_ERROR, THRESHOLD_FATAL, THRESHOLD_INFO, THRESHOLD_OFF, THRESHOLD_WARN, THRESHOLDS
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFacility()
Gets the syslog appender facility.
|
java.lang.String |
getHost()
Sets the syslog appender host.
|
java.lang.String |
getLayout()
Gets the layout of the unix syslog appender.
|
java.lang.String |
getPatternConversion()
Gets the pattern conversion of the unix syslog appender.
|
boolean |
isPrintFacility()
Checks whether to print the syslog's facility.
|
void |
setFacility(java.lang.String facility)
Sets the syslog appender facility.
|
void |
setHost(java.lang.String host)
Sets the syslog appender host.
|
void |
setLayout(java.lang.String layout)
Sets the layout of the unix syslog appender.
|
void |
setPatternConversion(java.lang.String pattern)
Sets the appender's pattern conversion.
|
void |
setPrintFacility(boolean printFacility)
Sets the syslog appender's facility printing value.
|
getName, getThreshold, isSelected, setSelected, setThreshold
static final java.lang.String FACILITY_KERN
static final java.lang.String FACILITY_USER
static final java.lang.String FACILITY_MAIL
static final java.lang.String FACILITY_DAEMON
static final java.lang.String FACILITY_AUTH
static final java.lang.String FACILITY_SYSLOG
static final java.lang.String FACILITY_LPR
static final java.lang.String FACILITY_NEWS
static final java.lang.String FACILITY_UUCP
static final java.lang.String FACILITY_CRON
static final java.lang.String FACILITY_AUTHPRIV
static final java.lang.String FACILITY_FTP
static final java.lang.String FACILITY_LOCAL0
static final java.lang.String FACILITY_LOCAL1
static final java.lang.String FACILITY_LOCAL2
static final java.lang.String FACILITY_LOCAL3
static final java.lang.String FACILITY_LOCAL4
static final java.lang.String FACILITY_LOCAL5
static final java.lang.String FACILITY_LOCAL6
static final java.lang.String FACILITY_LOCAL7
static final java.lang.String[] FACILITIES
FACILITY_KERN
,FACILITY_USER
,FACILITY_MAIL
,FACILITY_DAEMON
,FACILITY_AUTH
,FACILITY_SYSLOG
,FACILITY_LPR
,FACILITY_NEWS
,FACILITY_UUCP
,FACILITY_CRON
,FACILITY_AUTHPRIV
,FACILITY_FTP
,FACILITY_LOCAL0
,FACILITY_LOCAL1
,FACILITY_LOCAL2
,FACILITY_LOCAL3
,FACILITY_LOCAL4
,FACILITY_LOCAL5
,FACILITY_LOCAL6
,FACILITY_LOCAL7
.
java.lang.String getLayout()
"Pattern"
"HTML"
"XML"
"TTCC"
"Simple"
void setLayout(java.lang.String layout)
layout
- new layout value.java.lang.String getPatternConversion()
void setPatternConversion(java.lang.String pattern)
setLayout
should be firstly invoked before attempting to invoke this method.pattern,
- the pattern conversion value.java.lang.String getHost()
void setHost(java.lang.String host)
host
- the syslog appender host.java.lang.String getFacility()
"KERN"
"USER"
"MAIL"
"DAEMON"
"AUTH"
"SYSLOG"
"LPR"
"NEWS"
"UUCP"
"CRON"
"AUTHPRIV"
"FTP"
"LOCAL0"
"LOCAL1"
"LOCAL2"
"LOCAL3"
"LOCAL4"
"LOCAL5"
"LOCAL6"
"LOCAL7"
void setFacility(java.lang.String facility)
facility
- the syslog appender facility.boolean isPrintFacility()
void setPrintFacility(boolean printFacility)
printFacility
- the boolean value of the syslog appender facility.