As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,
I have created scheduled jobs with alfresco 5.2 using SDK and deployed in ACS 6.1. able to see the job in admin console and its trigger also updating properly. I have added loggers in the job but it's not printing in alfresco logs.
Kindly help me on it
You have to enable the logs for your custom package. For example if you have created the scheduled jobs under e.g "com.demo.job" java package. Then you need to add following in log4j.properties file:
log4j.logger.com.demo.jobs=info OR log4j.logger.com.demo.jobs=debug
You can also enable logs at root level of your java package if you want every class user "com.demo" package should write the logs, e.g.:
log4j.logger.com.demo=debug
Also check these threads if it helps:
https://hub.alfresco.com/t5/alfresco-content-services-forum/logger-configuration/m-p/296539#M17957