// Add log data
if ( includeLog )
{
BackupLog log = BackupManager.INSTANCE.getLog();
ArrayList<BackupLogEntry> logEntries = log.getLog( wrapped.getId() );
BackupLogEntry latestSuccessfulLogEntry = log.getLatestSuccessful( wrapped.getId() );
ArrayList<Object> serializedLog = new ArrayList<Object>();
for ( BackupLogEntry entry : logEntries )
{
serializedLog.add( entry.serialize() );
}