79208219

Date: 2024-11-20 16:53:12
Score: 0.5
Natty:
Report link

Try to store your custom JSON layout on the classpath and reference it from the log4j config:

    <Appenders>
        <Console name="Console" target="SYSTEM_OUT" follow="true">
            <JsonTemplateLayout eventTemplateUri="classpath:MyCustomLayout.json"/>
        </Console>
    </Appenders>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user07