Add traces to measure the time spent in the migration of each document (attachments and versioned documents) in the JCR