Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Logback: the reliable, generic, fast and flexible logging framework. Copyright (C) 1999-2011, All rights reserved. This program and the accompanying materials are dual-licensed under either the terms of the Eclipse Public License v1.0 as published by the Eclipse Foundation or (per the licensee's choosing) under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.
// Contributors: Dan MacDonald <>
Sends ch.qos.logback.classic.spi.ILoggingEvent objects to a remote a log server, usually a SocketNode. For more information on this appender, please refer to the online manual at

Ceki Gülcü
Sébastien Pennec
  boolean includeCallerData = false;
  public SocketAppender() {

Connects to remote server at address and port.
  public SocketAppender(InetAddress addressint port) {
    this. = address;
    this. = address.getHostName();
    this. = port;

Connects to remote server at host and port.
  public SocketAppender(String hostint port) {
    this. = port;
    this. = getAddressByName(host);
    this. = host;
  protected void postProcessEvent(ILoggingEvent event) {
    if () {
  public void setIncludeCallerData(boolean includeCallerData) {
    this. = includeCallerData;
    return ;
New to GrepCode? Check out our FAQ X