Java 类org.apache.log4j.helpers.SyslogQuietWriter 实例源码

项目:cacheonix-core    文件:SyslogAppender.java   
/**
  The <b>SyslogHost</b> option is the name of the the syslog host
  where log output should go.  A non-default port can be specified by
  appending a colon and port number to a host name,
  an IPv4 address or an IPv6 address enclosed in square brackets.

  <b>WARNING</b> If the SyslogHost is not set, then this appender
  will fail.
 */
public
void setSyslogHost(final String syslogHost) {
  this.sqw = new SyslogQuietWriter(new SyslogWriter(syslogHost),
             syslogFacility, errorHandler);
  //this.stp = new SyslogTracerPrintWriter(sqw);
  this.syslogHost = syslogHost;
}
项目:daq-eclipse    文件:SyslogAppender.java   
/**
  The <b>SyslogHost</b> option is the name of the the syslog host
  where log output should go.  A non-default port can be specified by
  appending a colon and port number to a host name,
  an IPv4 address or an IPv6 address enclosed in square brackets.

  <b>WARNING</b> If the SyslogHost is not set, then this appender
  will fail.
 */
public
void setSyslogHost(final String syslogHost) {
  this.sqw = new SyslogQuietWriter(new SyslogWriter(syslogHost),
             syslogFacility, errorHandler);
  //this.stp = new SyslogTracerPrintWriter(sqw);
  this.syslogHost = syslogHost;
}
项目:nabs    文件:SyslogAppender.java   
/**
  The <b>SyslogHost</b> option is the name of the the syslog host
  where log output should go.  A non-default port can be specified by
  appending a colon and port number to a host name,
  an IPv4 address or an IPv6 address enclosed in square brackets.

  <b>WARNING</b> If the SyslogHost is not set, then this appender
  will fail.
 */
public
void setSyslogHost(final String syslogHost) {
  this.sqw = new SyslogQuietWriter(new SyslogWriter(syslogHost),
             syslogFacility, errorHandler);
  //this.stp = new SyslogTracerPrintWriter(sqw);
  this.syslogHost = syslogHost;
}