Skip to content

Commit b380bd9

Browse files
committed
Change verbose logging to debug logging in Backup-SqlDscDatabase function
1 parent 64cf9e3 commit b380bd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/Public/Backup-SqlDscDatabase.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ function Backup-SqlDscDatabase
281281

282282
if ($PSCmdlet.ShouldProcess($descriptionMessage, $confirmationMessage, $captionMessage))
283283
{
284-
Write-Verbose -Message ($script:localizedData.Database_Backup_BackingUp -f $backupTypeDescription, $Name, $BackupFile)
284+
Write-Debug -Message ($script:localizedData.Database_Backup_BackingUp -f $backupTypeDescription, $Name, $BackupFile)
285285

286286
try
287287
{
@@ -350,7 +350,7 @@ function Backup-SqlDscDatabase
350350
# Perform the backup
351351
$backup.SqlBackup($ServerObject)
352352

353-
Write-Verbose -Message ($script:localizedData.Database_Backup_Success -f $backupTypeDescription, $Name)
353+
Write-Debug -Message ($script:localizedData.Database_Backup_Success -f $backupTypeDescription, $Name)
354354
}
355355
catch
356356
{

0 commit comments

Comments
 (0)