ops4j / org.ops4j.pax.logging

The OSGi Logging framework implementation. Supports SLF4J,LOG4J,JCL etc.
https://ops4j1.jira.com/wiki/spaces/paxlogging/overview
Apache License 2.0
46 stars 79 forks source link

[Fixes #459] Include JsonTemplateLayout for log4j2 #460

Closed svogt closed 2 years ago

svogt commented 2 years ago

Signed-off-by: Sascha Vogt sascha@vogt-neuenbuerg.de

svogt commented 2 years ago

Figure out how to merge Log4j2Plugins.dat

svogt commented 2 years ago

With ugly workaround, it now works :) Was able to get Json output without further changes other than specifying an appropriate appender config

prestongilchrist commented 2 years ago

We are eager to see this change released. Can you tell us

  1. when this will be released?
  2. Which versions it will be released in (2.x, 1.11.x)?

Thank you.

grgrzybek commented 2 years ago

for now, #459 is fixed in the main branch and it's targeted to version 2.1.1. I see no problems adding it to 2.0.x branch (I even should do it - thanks for reminder). I can also do it in 1.11.x/1.12.x - just let me know.

prestongilchrist commented 2 years ago

1.11.x would be ideal since the tool we are using is on that version currently and this should be a minor change to bump that to a newer 1.11.x version.

Thank you.

grgrzybek commented 2 years ago

Backports: