Hi all,
I have debugging lines in my code like
logger.debug("code statements to bebug");
How can I check this in adobe cloud manager
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Refer this https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Essentially You can setup Logmanager factory config for your project. Something like org.apache.sling.commons.log.LogManager.factory.config~myProject.cfg.json
{
"org.apache.sling.commons.log.names": ["com.example"],
"org.apache.sling.commons.log.level": "debug"
"org.apache.sling.commons.log.file": "logs/error.log"
}
Then You can download the logs by going to respective environment in your cloud program.
Select the service (author, publisher etc.) from which you want to download and select "aemerror"
It should have your respective debug statements.
Refer this https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
Essentially You can setup Logmanager factory config for your project. Something like org.apache.sling.commons.log.LogManager.factory.config~myProject.cfg.json
{
"org.apache.sling.commons.log.names": ["com.example"],
"org.apache.sling.commons.log.level": "debug"
"org.apache.sling.commons.log.file": "logs/error.log"
}
Then You can download the logs by going to respective environment in your cloud program.
Select the service (author, publisher etc.) from which you want to download and select "aemerror"
It should have your respective debug statements.
Hi,
You could also use "aio cli" to tail or download the logs directly from your terminal, check this article:
https://blog.arborydigital.com/tailing-aemaacs-logs
Hope this helps
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies