org.dcm4che2.audit.log4j.net
Class SyslogAppender2
java.lang.Object
org.apache.log4j.AppenderSkeleton
org.dcm4che2.audit.log4j.net.SyslogAppender2
- All Implemented Interfaces:
- org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler
public class SyslogAppender2
- extends org.apache.log4j.AppenderSkeleton
- Since:
- Nov 25, 2009
- Version:
- $Revision$ $Date$
- Author:
- Gunter Zeilinger
Fields inherited from class org.apache.log4j.AppenderSkeleton |
closed, errorHandler, headFilter, layout, name, tailFilter, threshold |
Methods inherited from class org.apache.log4j.AppenderSkeleton |
addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyslogAppender2
public SyslogAppender2()
getHost
public java.lang.String getHost()
setHost
public void setHost(java.lang.String host)
getPort
public int getPort()
setPort
public void setPort(int port)
getBindAddress
public java.lang.String getBindAddress()
setBindAddress
public void setBindAddress(java.lang.String bindAddress)
getLocalPort
public int getLocalPort()
setLocalPort
public void setLocalPort(int localPort)
getProtocol
public java.lang.String getProtocol()
setProtocol
public void setProtocol(java.lang.String protocol)
getSendBuffer
public int getSendBuffer()
setSendBuffer
public void setSendBuffer(int sendBuffer)
getTcpConnectTimeout
public int getTcpConnectTimeout()
setTcpConnectTimeout
public void setTcpConnectTimeout(int tcpConnectTimeout)
getTcpRetryInterval
public int getTcpRetryInterval()
setTcpRetryInterval
public void setTcpRetryInterval(int tcpRetryInterval)
isTcpNoDelay
public boolean isTcpNoDelay()
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
isTlsEnabled
public boolean isTlsEnabled()
setTlsEnabled
public void setTlsEnabled(boolean tlsEnabled)
getTlsProtocol
public java.lang.String getTlsProtocol()
setTlsProtocol
public void setTlsProtocol(java.lang.String tlsProtocol)
getTlsCiphers
public java.lang.String getTlsCiphers()
setTlsCiphers
public void setTlsCiphers(java.lang.String tlsCiphers)
getKeyStoreFile
public java.lang.String getKeyStoreFile()
setKeyStoreFile
public void setKeyStoreFile(java.lang.String keyStoreFile)
getKeyStorePass
public java.lang.String getKeyStorePass()
setKeyStorePass
public void setKeyStorePass(java.lang.String keyStorePass)
getKeyPass
public java.lang.String getKeyPass()
setKeyPass
public void setKeyPass(java.lang.String keyPass)
getKeyStoreType
public java.lang.String getKeyStoreType()
setKeyStoreType
public void setKeyStoreType(java.lang.String keyStoreType)
getTrustStoreFile
public java.lang.String getTrustStoreFile()
setTrustStoreFile
public void setTrustStoreFile(java.lang.String trustStoreFile)
getTrustStorePass
public java.lang.String getTrustStorePass()
setTrustStorePass
public void setTrustStorePass(java.lang.String trustStorePass)
getTrustStoreType
public java.lang.String getTrustStoreType()
setTrustStoreType
public void setTrustStoreType(java.lang.String trustStoreType)
getSyslogFacility
public java.lang.String getSyslogFacility()
setSyslogFacility
public void setSyslogFacility(java.lang.String facility)
getFatalSeverity
public java.lang.String getFatalSeverity()
setFatalSeverity
public void setFatalSeverity(java.lang.String severity)
getErrorSeverity
public java.lang.String getErrorSeverity()
setErrorSeverity
public void setErrorSeverity(java.lang.String severity)
getWarnSeverity
public java.lang.String getWarnSeverity()
setWarnSeverity
public void setWarnSeverity(java.lang.String severity)
getInfoSeverity
public java.lang.String getInfoSeverity()
setInfoSeverity
public void setInfoSeverity(java.lang.String severity)
getDebugSeverity
public java.lang.String getDebugSeverity()
setDebugSeverity
public void setDebugSeverity(java.lang.String severity)
getHostName
public java.lang.String getHostName()
setHostName
public void setHostName(java.lang.String hostname)
getApplicationName
public java.lang.String getApplicationName()
setApplicationName
public void setApplicationName(java.lang.String applicationName)
getMessageID
public java.lang.String getMessageID()
setMessageID
public void setMessageID(java.lang.String messageID)
isTimestampInUTC
public boolean isTimestampInUTC()
setTimestampInUTC
public void setTimestampInUTC(boolean timestampInUTC)
isPrefixMessageWithBOM
public boolean isPrefixMessageWithBOM()
setPrefixMessageWithBOM
public void setPrefixMessageWithBOM(boolean prefixMessageWithBOM)
activateOptions
public void activateOptions()
- Specified by:
activateOptions
in interface org.apache.log4j.spi.OptionHandler
- Overrides:
activateOptions
in class org.apache.log4j.AppenderSkeleton
append
protected void append(org.apache.log4j.spi.LoggingEvent event)
- Specified by:
append
in class org.apache.log4j.AppenderSkeleton
close
public void close()
requiresLayout
public boolean requiresLayout()
Copyright © 2011 dcm4che. All Rights Reserved.