Confluence has several scheduled jobs. For example incremental indexes of content, index optimisation, sending the daily report out, etc.

Sometimes you may want to know exactly when the job starts and finishes, and you can do this by doing the following:

Via the UI (will only last to next restart of Confluence)

Go to Administration >> Logging and Profiling and add

Class: com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean
Level: DEBUG

Via the log4j.properties (setting will persist across restarts)

1) Edit your <CONFLUENCE_INSTALL>/confluence/WEB-INF/classes/log4j.properties and add

log4j.logger.com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean=DEBUG

2) Restart your confluence instance.

What you should see

In the atlassian-confluence.log files you should see something like the following:

2010-06-17 18:00:00,038 INFO [DefaultQuartzScheduler_Worker-4]  [confluence.setup.quartz.AbstractClusterAwareQuartzJobBean]  surroundJobExecutionWithLogging Scheduled job : IndexOptimizer is starting
...
...
2010-06-17 18:00:00,051 INFO [DefaultQuartzScheduler_Worker-4] [confluence.setup.quartz.AbstractClusterAwareQuartzJobBean] surroundJobExecutionWithLogging Scheduled job : IndexOptimizer completed
  • No labels