public class StorageLogAdministration extends Object
| Constructor and Description |
|---|
StorageLogAdministration(StorageLog storageLogService) |
| Modifier and Type | Method and Description |
|---|---|
GUID |
backupStorageLog(Boolean backupWriteLog)
backup the log files since last backup:
* Link the appender to a new file in order to continue to log access/write during the operation * Copy previous log files from Storage to Offers * Delete old files from Storage |
public StorageLogAdministration(StorageLog storageLogService)
public GUID backupStorageLog(Boolean backupWriteLog) throws IOException, StorageLogException, LogbookClientBadRequestException, LogbookClientAlreadyExistsException, LogbookClientServerException
IOException - if an IOException is thrown while generating the secure storageStorageLogException - if a LogZipFile cannot be generatedLogbookClientBadRequestException - if a bad request is encounteredLogbookClientAlreadyExistsException - if the logbook already existsLogbookClientServerException - if there's a problem connecting to the logbook functionnalityCopyright © 2018 Vitam. All rights reserved.