Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM logging : Is AEM logging async/synchronous

a_mn1
Level 4
Level 4

Hello Team, Is AEM logging async/synchronous?

Regards,

Anand MN

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

0 Replies
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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

View solution in original post

Jörg_Hoh
Employee
Employee

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