Where to check result of System.out.println | Community
Skip to main content
Level 4
Mar 26, 2022 10:29 AM UTC
Solved

Where to check result of System.out.println

Hello, 

I am testing one servlet in aem, for that I have given some print statements through system.out.println. I am using IntelliJ IDE I just want to check the output in the IDE, where do I check ?? Any idea ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Mar 29, 2022 5:50 PM UTC

You should use a logging library from the beginning. Especially because it does not have any typing overhead at all in AEM.

 

https://www.danklco.com/posts/2022/03/8-tenets-for-cloud-scale-logging-in-aem.html

2 replies

joerghoh
joerghohAccepted solution
Employee
Mar 29, 2022 5:50 PM UTC

You should use a logging library from the beginning. Especially because it does not have any typing overhead at all in AEM.

 

https://www.danklco.com/posts/2022/03/8-tenets-for-cloud-scale-logging-in-aem.html

Translate
Kishore_Kumar_
Level 9
Mar 26, 2022 11:58 AM UTC

sysout entry will be in ..\crx-quickstart\logs\stdout.log.

 

But prefer using logs instead of sysout.

 

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/configure-logging.html?lang=en 

Translate