I am just starting in AEM, and I'm trying to set up a workflow with some basic scripting. I have the most simple bit of ecmascript right now to log a variable. My question is, where are the strings that i'm logging going to? Is there a logger that i need to set up in configMgr, or is there an existing logfile?
function getParticipant() { log.info("assigning approvers..."); var path = workItem.getWorkflowData().getPayload().toString(); log.info("itemPath: " + path); return workItem.getWorkflow().getInitiator(); }
Thanks
Solved! Go to Solution.
Please have a look at the details below:-
Log File Name | Description |
access.log | All access requests to CQ5 and the repository are registered here. |
request.log | Each access request is registered here together with the response |
error.log | Error messages (of varying levels of severity) are registered here. |
Log File Name | Description |
revision.log | Revision information for cluster index sync |
Log File Name | Description |
redo.log | If something goes wrong with index creation this log is created which holds redo index information. This log is not present by default. |
I hope this would help you.
~kautuk
AEM logs messages to the error.log under crx-quickstart\logs.
Also - when you want to create custom functionality in Workflow - use OSGi and Java. See this article:
http://scottsdigitalcommunity.blogspot.ca/2013/10/creating-custom-aem-workflow-steps-that.html
There is also a video that you can watch.
Hope this helps.
Please have a look at the details below:-
Log File Name | Description |
access.log | All access requests to CQ5 and the repository are registered here. |
request.log | Each access request is registered here together with the response |
error.log | Error messages (of varying levels of severity) are registered here. |
Log File Name | Description |
revision.log | Revision information for cluster index sync |
Log File Name | Description |
redo.log | If something goes wrong with index creation this log is created which holds redo index information. This log is not present by default. |
I hope this would help you.
~kautuk
Views
Like
Replies