diff --git a/api/src/com/cloud/agent/api/BackupSnapshotCommand.java b/api/src/com/cloud/agent/api/BackupSnapshotCommand.java index 3d3591f628c..1b8f29ca143 100644 --- a/api/src/com/cloud/agent/api/BackupSnapshotCommand.java +++ b/api/src/com/cloud/agent/api/BackupSnapshotCommand.java @@ -17,6 +17,7 @@ */ package com.cloud.agent.api; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.StorageFilerTO; import com.cloud.agent.api.to.SwiftTO; import com.cloud.storage.StoragePool; @@ -34,6 +35,7 @@ public class BackupSnapshotCommand extends SnapshotCommand { private boolean isVolumeInactive; private String vmName; private Long snapshotId; + @LogLevel(Log4jLevel.Off) private SwiftTO swift; StorageFilerTO pool; diff --git a/api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java b/api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java index 670afba1a11..d00e9fd6657 100644 --- a/api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java +++ b/api/src/com/cloud/agent/api/DeleteSnapshotBackupCommand.java @@ -17,6 +17,7 @@ */ package com.cloud.agent.api; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.SwiftTO; /** @@ -24,6 +25,7 @@ import com.cloud.agent.api.to.SwiftTO; * This currently assumes that the secondary storage are mounted on the XenServer. */ public class DeleteSnapshotBackupCommand extends SnapshotCommand { + @LogLevel(Log4jLevel.Off) private SwiftTO swift; private Boolean all; diff --git a/api/src/com/cloud/agent/api/downloadSnapshotFromSwiftCommand.java b/api/src/com/cloud/agent/api/downloadSnapshotFromSwiftCommand.java index 676e12b6e76..c410c9d2590 100644 --- a/api/src/com/cloud/agent/api/downloadSnapshotFromSwiftCommand.java +++ b/api/src/com/cloud/agent/api/downloadSnapshotFromSwiftCommand.java @@ -17,6 +17,7 @@ */ package com.cloud.agent.api; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.SwiftTO; /** @@ -27,6 +28,7 @@ import com.cloud.agent.api.to.SwiftTO; * This currently assumes that both primary and secondary storage are mounted on the XenServer. */ public class downloadSnapshotFromSwiftCommand extends SnapshotCommand { + @LogLevel(Log4jLevel.Off) private SwiftTO _swift; private String _parent; diff --git a/api/src/com/cloud/agent/api/downloadTemplateFromSwiftToSecondaryStorageCommand.java b/api/src/com/cloud/agent/api/downloadTemplateFromSwiftToSecondaryStorageCommand.java index 50fd5088061..610e477ca1b 100644 --- a/api/src/com/cloud/agent/api/downloadTemplateFromSwiftToSecondaryStorageCommand.java +++ b/api/src/com/cloud/agent/api/downloadTemplateFromSwiftToSecondaryStorageCommand.java @@ -17,6 +17,7 @@ */ package com.cloud.agent.api; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.SwiftTO; /** @@ -26,6 +27,7 @@ import com.cloud.agent.api.to.SwiftTO; */ public class downloadTemplateFromSwiftToSecondaryStorageCommand extends Command { + @LogLevel(Log4jLevel.Off) private SwiftTO swift; private String secondaryStorageUrl; diff --git a/api/src/com/cloud/agent/api/storage/ListTemplateCommand.java b/api/src/com/cloud/agent/api/storage/ListTemplateCommand.java index a04bc9a6617..f5557f91ad8 100644 --- a/api/src/com/cloud/agent/api/storage/ListTemplateCommand.java +++ b/api/src/com/cloud/agent/api/storage/ListTemplateCommand.java @@ -17,10 +17,13 @@ */ package com.cloud.agent.api.storage; +import com.cloud.agent.api.LogLevel; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.SwiftTO; public class ListTemplateCommand extends StorageCommand { private String secUrl; + @LogLevel(Log4jLevel.Off) private SwiftTO swift; public ListTemplateCommand() { diff --git a/api/src/com/cloud/agent/api/uploadTemplateToSwiftFromSecondaryStorageCommand.java b/api/src/com/cloud/agent/api/uploadTemplateToSwiftFromSecondaryStorageCommand.java index 4542eb8ad3b..ec572f7e119 100644 --- a/api/src/com/cloud/agent/api/uploadTemplateToSwiftFromSecondaryStorageCommand.java +++ b/api/src/com/cloud/agent/api/uploadTemplateToSwiftFromSecondaryStorageCommand.java @@ -17,6 +17,7 @@ */ package com.cloud.agent.api; +import com.cloud.agent.api.LogLevel.Log4jLevel; import com.cloud.agent.api.to.SwiftTO; /** @@ -26,6 +27,7 @@ import com.cloud.agent.api.to.SwiftTO; */ public class uploadTemplateToSwiftFromSecondaryStorageCommand extends Command { + @LogLevel(Log4jLevel.Off) private SwiftTO swift; private String secondaryStorageUrl;