AEM logging : Is AEM logging async/synchronous | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 13, 2018 10:17 AM UTC

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

2 replies

joerghoh
Employee
Jul 13, 2018 4:35 PM UTC

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

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 13, 2018 10:17 AM UTC

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

Translate
Arun Patidar