@@ -1546,7 +1546,7 @@ private void createIPHelperEvent(UsageEventVO event) {
15461546 private void deleteExistingSecondaryStorageUsageForVolume (long volId , long accountId , Date deletedDate ) {
15471547 List <UsageStorageVO > storageVOs = _usageStorageDao .listById (accountId , volId , StorageTypes .VOLUME );
15481548 for (UsageStorageVO storageVO : storageVOs ) {
1549- s_logger .debug (String .format ("Setting the volume with id: {} to 'deleted' in the usage_storage table for account: {}." , volId , accountId ));
1549+ logger .debug (String .format ("Setting the volume with id: {} to 'deleted' in the usage_storage table for account: {}." , volId , accountId ));
15501550 storageVO .setDeleted (deletedDate );
15511551 _usageStorageDao .update (storageVO );
15521552 }
@@ -1556,7 +1556,7 @@ private void deleteExistingInstanceVolumeUsage(long volId, long accountId, Date
15561556 List <UsageVolumeVO > volumesVOs = _usageVolumeDao .listByVolumeId (volId , accountId );
15571557 for (UsageVolumeVO volumesVO : volumesVOs ) {
15581558 if (volumesVO .getVmId () != null ) {
1559- s_logger .debug (String .format ("Setting the volume with id: {} for instance id: {} to 'deleted' in the usage_volume table for account {}." ,
1559+ logger .debug (String .format ("Setting the volume with id: {} for instance id: {} to 'deleted' in the usage_volume table for account {}." ,
15601560 volumesVO .getVolumeId (), volumesVO .getVmId (), accountId ));
15611561 volumesVO .setDeleted (deletedDate );
15621562 _usageVolumeDao .update (volumesVO .getId (), volumesVO );
@@ -1567,7 +1567,7 @@ private void deleteExistingInstanceVolumeUsage(long volId, long accountId, Date
15671567 private void deleteExistingVolumeUsage (long volId , long accountId , Date deletedDate ) {
15681568 List <UsageVolumeVO > volumesVOs = _usageVolumeDao .listByVolumeId (volId , accountId );
15691569 for (UsageVolumeVO volumesVO : volumesVOs ) {
1570- s_logger .debug (String .format ("Setting the volume with id: {} to 'deleted' in the usage_storage table for account: {}." , volId , accountId ));
1570+ logger .debug (String .format ("Setting the volume with id: {} to 'deleted' in the usage_storage table for account: {}." , volId , accountId ));
15711571 volumesVO .setDeleted (deletedDate );
15721572 _usageVolumeDao .update (volumesVO .getId (), volumesVO );
15731573 }
0 commit comments