handler.setOutputStream(new SSLContextOutputStream(context, syslogServerAddress, port)); } else { handler.setProtocol(transport == Transport.TCP ? Protocol.TCP : Protocol.SSL_TCP);
} else { handler.setOutputStream(new AuditLogTcpOutputStream(syslogServerAddress, port)); handler.setProtocol(transport == Transport.TCP ? Protocol.TCP : Protocol.SSL_TCP);
} else { handler.setOutputStream(new AuditLogTcpOutputStream(syslogServerAddress, port)); handler.setProtocol(transport == Transport.TCP ? Protocol.TCP : Protocol.SSL_TCP);