Hi all,

It's not very clearly defined what an appender should do when it
requires a layout, but the layout is not specified in the
configuration.

Currently, most appenders will simply not append if the layout is not
provided. However, they will not report a warning and/or close
themselves.

I can see two possible solutions:
a) fall back to a default layout (e.g. LoggerLayoutSimple)
b) report a warning and close the appender

I am leaning towards option a) since I don't see any dangerous
consequences of this decision.

What do you think?

Regards,
Ivan

Reply via email to