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
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.