Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3202C200C44 for ; Mon, 27 Mar 2017 12:33:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 309C4160B85; Mon, 27 Mar 2017 10:33:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 78A07160B5D for ; Mon, 27 Mar 2017 12:33:49 +0200 (CEST) Received: (qmail 54363 invoked by uid 500); 27 Mar 2017 10:33:48 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 54354 invoked by uid 99); 27 Mar 2017 10:33:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2017 10:33:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4F489C2148 for ; Mon, 27 Mar 2017 10:33:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id EenugNX0vkx9 for ; Mon, 27 Mar 2017 10:33:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 287D85F610 for ; Mon, 27 Mar 2017 10:33:47 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3DD47E059C for ; Mon, 27 Mar 2017 10:33:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 25AC824067 for ; Mon, 27 Mar 2017 10:33:42 +0000 (UTC) Date: Mon, 27 Mar 2017 10:33:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LOG4J2-1854) Gelf TCP endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Mar 2017 10:33:50 -0000 [ https://issues.apache.org/jira/browse/LOG4J2-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943022#comment-15943022 ] ASF GitHub Bot commented on LOG4J2-1854: ---------------------------------------- Github user mikaelstaldal commented on a diff in the pull request: https://github.com/apache/logging-log4j2/pull/67#discussion_r108137284 --- Diff: log4j-core/src/main/java/org/apache/logging/log4j/core/layout/GelfLayout.java --- @@ -237,11 +241,11 @@ public B setAdditionalFields(KeyValuePair[] additionalFields) { @Deprecated public GelfLayout(final String host, final KeyValuePair[] additionalFields, final CompressionType compressionType, final int compressionThreshold, final boolean includeStacktrace) { - this(null, host, additionalFields, compressionType, compressionThreshold, includeStacktrace, true); + this(null, host, additionalFields, compressionType, compressionThreshold, includeStacktrace, true, false); --- End diff -- Please do not change this method since that will break binary compatibility. Users will have to use builder to use the new feature. > Gelf TCP endpoint > ------------------ > > Key: LOG4J2-1854 > URL: https://issues.apache.org/jira/browse/LOG4J2-1854 > Project: Log4j 2 > Issue Type: Bug > Reporter: Xavier Jodoin > Priority: Minor > > Gelf TCP endpoint need a NULL-byte between each messages and it doesn't support compression -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org