You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Mikael Ståldal <mi...@magine.com> on 2015/05/06 17:45:46 UTC

Incorrectly defined compressionType parameter to GelfLayout

I think there is a bug in GelfLayout.

The compressionType parameter does not work, and I can see why in the
source:

@PluginAttribute(value = "compressionThreshold",
    defaultString = "GZIP") final CompressionType compressionType,


The value is wrong here.

-- 
[image: MagineTV]

 *Mikael Ståldal*
Senior backend developer

 *Magine TV*
 mikael.staldal@magine.com
 Regeringsgatan 25  | 111 53 Stockholm, Sweden  |   www.magine.com

 Privileged and/or Confidential Information may be contained in this
message. If you are not the addressee indicated in this message
(or responsible for delivery of the message to such a person), you may not
copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender by reply
email.

Re: Incorrectly defined compressionType parameter to GelfLayout

Posted by Gary Gregory <ga...@gmail.com>.
Just a quick note that this has been fixed.

Gary

On Wed, May 6, 2015 at 8:45 AM, Mikael Ståldal <mi...@magine.com>
wrote:

> I think there is a bug in GelfLayout.
>
> The compressionType parameter does not work, and I can see why in the
> source:
>
> @PluginAttribute(value = "compressionThreshold",
>     defaultString = "GZIP") final CompressionType compressionType,
>
>
> The value is wrong here.
>
> --
> [image: MagineTV]
>
>  *Mikael Ståldal*
> Senior backend developer
>
>  *Magine TV*
>  mikael.staldal@magine.com
>  Regeringsgatan 25  | 111 53 Stockholm, Sweden  |   www.magine.com
>
>  Privileged and/or Confidential Information may be contained in this
> message. If you are not the addressee indicated in this message
> (or responsible for delivery of the message to such a person), you may not
> copy or deliver this message to anyone. In such case,
> you should destroy this message and kindly notify the sender by reply
> email.
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory