AEM logging : Is AEM logging async/synchronous | Community
Skip to main content
Level 4
July 13, 2018
Solved

AEM logging : Is AEM logging async/synchronous

  • July 13, 2018
  • 2 replies
  • 1541 views

Hello Team, Is AEM logging async/synchronous?

Regards,

Anand MN

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi

Since AEM uses SLF4j for logging, so if you try to dig into SLF4j implementation, you may find.

But nobody sure whether SLF4J thread safe or not.

check if this helps

https://jira.qos.ch/browse/SLF4J-167

slf4j over sysout not thread safe

If you can always check SLF4J implementation slf4j/slf4j-api/src/main/java/org/slf4j at master · qos-ch/slf4j · GitHub

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 13, 2018

Hi

Since AEM uses SLF4j for logging, so if you try to dig into SLF4j implementation, you may find.

But nobody sure whether SLF4J thread safe or not.

check if this helps

https://jira.qos.ch/browse/SLF4J-167

slf4j over sysout not thread safe

If you can always check SLF4J implementation slf4j/slf4j-api/src/main/java/org/slf4j at master · qos-ch/slf4j · GitHub

Arun Patidar
joerghoh
Adobe Employee
Adobe Employee
July 13, 2018

I think that AEM uses snychronous logging. Although the performance of logging was never that relevant for me (it appeared never as a bottleneck when I profiled AEM), so I basically ignored this question.

Cheers,

Jörg