I would say no. It may make sense for some appenders to have a default
layout, and we should keep it for those which already have it for BC

But I don't think we should provide default layout for those appenders
which do not already have it, and we should not force all future appenders
to have a default layout.

See https://issues.apache.org/jira/browse/LOG4J2-1465

On Sun, Sep 11, 2016 at 5:48 PM, Gary Gregory <garydgreg...@gmail.com>

> I'm pretty sure we no longer need @Required on layout on
> org.apache.logging.log4j.core.appender.AbstractAppender.Builder.layout.
> Would it be OK to say that an appender should provide a default layout?
> Gary
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@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

[image: MagineTV]

*Mikael Ståldal*
Senior software developer

*Magine TV*
Grev Turegatan 3  | 114 46 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

Reply via email to