From 2a40ac1377eabfc60211c2e7a289236780c248fd Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Tue, 19 Jan 2021 13:56:28 +0100 Subject: [PATCH] Log message correction in log() --- backup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.ps1 b/backup.ps1 index 29be3d3..412ce3d 100644 --- a/backup.ps1 +++ b/backup.ps1 @@ -63,7 +63,7 @@ if ( -not $conf ) { if ( $log ) { $logname = (Get-Item $conf ).Basename $global:logfile = "$PSScriptRoot\log\$((Get-Date).ToString("yyyy.MM.dd"))_$($logname).log" - write-debug "Write fo Set-Messagefile $($global:logfile) " + write-debug "Write to logfile: $($global:logfile) " # Zip old messah=ges (Archives) # TODO: Test this functionnality