Properties are automatically interpolated and used as interpolatable values
while KeyValuePairs are not (at least IIRC). Basically, it seems to be a
semantic difference.

On 9 January 2017 at 04:43, Remko Popma <remko.po...@gmail.com> wrote:

> They seem similar, but slightly different usage: KeyValuePair is used in
> Filters and Layouts (via LoggerFields), where Property is used in
> Configuration and some Appenders.
>
> Otherwise they seem structurally very similar.
>
> Some historical reason?
>
> Sent from my iPhone
>
> > On Jan 9, 2017, at 17:54, Mikael Ståldal <mikael.stal...@magine.com>
> wrote:
> >
> > What is the difference between classes Property and KeyValuePair?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
>
>


-- 
Matt Sicker <boa...@gmail.com>

Reply via email to