Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Adjusting log4j configuration

Avatar

Level 3

Dear experts,

in the bundle overview of AEM I can see, that log4j-over-slf4j is loaded. Is it possible to adjust its configuration?

We would like to use the SocketAppender to log directly to logstash.

Kind regards,

Ivan

4 Replies

Avatar

Level 10

See this AEM doc topic - it discusses how to create your own loggers: 

https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/configure-logging.html

Hope this helps

Avatar

Administrator

Dear experts,

in the bundle overview of AEM I can see, that log4j-over-slf4j is loaded. Is it possible to adjust its configuration?

We would like to use the SocketAppender to log directly to logstash.

Kind regards,

Ivan



Kautuk Sahni

Avatar

Level 1

Dear experts,

I'm also having the same question, I'd like to use a custom log4j appender to send all my logs to ELK.

How can we configure this?

Avatar

Level 3

It would be a really nice feature