Expand my Community achievements bar.

Issue in Error Log File

Avatar

Level 2

Hi,

I have written a servlet class from which i am printing log values using log4j.

The same setup is working fine for me on my local and it's printing the values but when i am doing the same on PROD instance, nothing is coming up.

My servlet is getting executed properly in both the cases.

Any help would be great.

3 Replies

Avatar

Administrator

You might want to check out this: http://adobe-consulting-services.github.io/acs-aem-commons/features/syslog-appender.html

Purpose
Using this OSGi configured Logback appender, you can easily send log messages to a syslog server, either one internally hosted or hosted on a SaaS syslog service.

For "log4j" i will let community user share their thoughts as well. Reference documentation :- https://docs.adobe.com/docs/en/aem/6-2/deploy/configuring/monitoring-and-maintaining.html#Create a Custom Log File

~kautuk



Kautuk Sahni