turn off log for swift credential

This commit is contained in:
anthony 2011-11-03 12:06:52 -07:00
parent 8dc731bb2f
commit a7cf2f412c
6 changed files with 13 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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() {

View File

@ -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;