Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Workflow Logging Needed

Avatar

Former Community Member

I need to enable Logging to monitor Workflows executions

Which logger class do i need to enable in felix console (i guess it's in Apache Sling Logging Logger Configuration)?. 

"com.adobe.granite.workflow" ?.

 

Thank You.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Yes, add a configuration for "Apache Sling Logging Logger Configuration"

Make sure you log at a debug level.

I think the two interesting things to log are:

com.adobe.granite.workflow.core.WorkflowSessionImpl

com.adobe.granite.workflow.core.job

You can log all of workflow but you'll see a lot of irrelevant information.

Something like this:

[img]workflowLogging.PNG[/img]

Hope this helps,

Will

View solution in original post

3 Replies

Avatar

Level 10

Hi,

Are you looking for specific logging ?? Normally it will be logged in access.log

Avatar

Level 1

Hi,

If you want you can use the org.slf4j.log4j API. Through configurations, you can change the log file in which you want to see the logs. 

It is already available in AEM.

Thanks,

Deepak Jain

Avatar

Correct answer by
Employee

Hi,

Yes, add a configuration for "Apache Sling Logging Logger Configuration"

Make sure you log at a debug level.

I think the two interesting things to log are:

com.adobe.granite.workflow.core.WorkflowSessionImpl

com.adobe.granite.workflow.core.job

You can log all of workflow but you'll see a lot of irrelevant information.

Something like this:

[img]workflowLogging.PNG[/img]

Hope this helps,

Will