org.dcm4che2.audit.log4j.net
Class SyslogAppender2

java.lang.Object
  extended by org.apache.log4j.AppenderSkeleton
      extended by 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

Field Summary
 
Fields inherited from class org.apache.log4j.AppenderSkeleton
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
 
Constructor Summary
SyslogAppender2()
           
 
Method Summary
 void activateOptions()
           
protected  void append(org.apache.log4j.spi.LoggingEvent event)
           
 void close()
           
 java.lang.String getApplicationName()
           
 java.lang.String getBindAddress()
           
 java.lang.String getDebugSeverity()
           
 java.lang.String getErrorSeverity()
           
 java.lang.String getFatalSeverity()
           
 java.lang.String getHost()
           
 java.lang.String getHostName()
           
 java.lang.String getInfoSeverity()
           
 java.lang.String getKeyPass()
           
 java.lang.String getKeyStoreFile()
           
 java.lang.String getKeyStorePass()
           
 java.lang.String getKeyStoreType()
           
 int getLocalPort()
           
 java.lang.String getMessageID()
           
 int getPort()
           
 java.lang.String getProtocol()
           
 int getSendBuffer()
           
 java.lang.String getSyslogFacility()
           
 int getTcpConnectTimeout()
           
 int getTcpRetryInterval()
           
 java.lang.String getTlsCiphers()
           
 java.lang.String getTlsProtocol()
           
 java.lang.String getTrustStoreFile()
           
 java.lang.String getTrustStorePass()
           
 java.lang.String getTrustStoreType()
           
 java.lang.String getWarnSeverity()
           
 boolean isPrefixMessageWithBOM()
           
 boolean isTcpNoDelay()
           
 boolean isTimestampInUTC()
           
 boolean isTlsEnabled()
           
 boolean requiresLayout()
           
 void setApplicationName(java.lang.String applicationName)
           
 void setBindAddress(java.lang.String bindAddress)
           
 void setDebugSeverity(java.lang.String severity)
           
 void setErrorSeverity(java.lang.String severity)
           
 void setFatalSeverity(java.lang.String severity)
           
 void setHost(java.lang.String host)
           
 void setHostName(java.lang.String hostname)
           
 void setInfoSeverity(java.lang.String severity)
           
 void setKeyPass(java.lang.String keyPass)
           
 void setKeyStoreFile(java.lang.String keyStoreFile)
           
 void setKeyStorePass(java.lang.String keyStorePass)
           
 void setKeyStoreType(java.lang.String keyStoreType)
           
 void setLocalPort(int localPort)
           
 void setMessageID(java.lang.String messageID)
           
 void setPort(int port)
           
 void setPrefixMessageWithBOM(boolean prefixMessageWithBOM)
           
 void setProtocol(java.lang.String protocol)
           
 void setSendBuffer(int sendBuffer)
           
 void setSyslogFacility(java.lang.String facility)
           
 void setTcpConnectTimeout(int tcpConnectTimeout)
           
 void setTcpNoDelay(boolean tcpNoDelay)
           
 void setTcpRetryInterval(int tcpRetryInterval)
           
 void setTimestampInUTC(boolean timestampInUTC)
           
 void setTlsCiphers(java.lang.String tlsCiphers)
           
 void setTlsEnabled(boolean tlsEnabled)
           
 void setTlsProtocol(java.lang.String tlsProtocol)
           
 void setTrustStoreFile(java.lang.String trustStoreFile)
           
 void setTrustStorePass(java.lang.String trustStorePass)
           
 void setTrustStoreType(java.lang.String trustStoreType)
           
 void setWarnSeverity(java.lang.String severity)
           
 
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
 

Constructor Detail

SyslogAppender2

public SyslogAppender2()
Method Detail

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.