Package ch.qos.logback.core.net

Examples of ch.qos.logback.core.net.SyslogOutputStream


    return "%syslogStart{" + getFacility() + "}%nopex{}";
  }

  @Override
  public SyslogOutputStream createOutputStream() throws SocketException, UnknownHostException {
    return new SyslogOutputStream(getSyslogHost(), getPort());
  }
View Full Code Here


 
  public ResilientSyslogOutputStream(String syslogHost, int port)
      throws UnknownHostException, SocketException {
    this.syslogHost = syslogHost;
    this.port = port;
    super.os = new SyslogOutputStream(syslogHost, port);
    this.presumedClean = true;
  }
View Full Code Here

    return "syslog ["+syslogHost+":"+port+"]";
  }

  @Override
  OutputStream openNewOutputStream() throws IOException {
    return  new SyslogOutputStream(syslogHost, port);
  }
View Full Code Here

        logstashLayout.setJsonGeneratorDecorator(jsonGeneratorDecorator);
    }

    @Override
    public SyslogOutputStream createOutputStream() throws UnknownHostException, SocketException {
        return new SyslogOutputStream(this.getHost(), this.getPort());
    }
View Full Code Here

 
  public ResilientSyslogOutputStream(String syslogHost, int port)
      throws UnknownHostException, SocketException {
    this.syslogHost = syslogHost;
    this.port = port;
    super.os = new SyslogOutputStream(syslogHost, port);
    this.presumedClean = true;
  }
View Full Code Here

    return "syslog ["+syslogHost+":"+port+"]";
  }

  @Override
  OutputStream openNewOutputStream() throws IOException {
    return  new SyslogOutputStream(syslogHost, port);
  }
View Full Code Here

TOP

Related Classes of ch.qos.logback.core.net.SyslogOutputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.