Log message correction in log()

This commit is contained in:
Yorick Barbanneau 2021-01-19 13:56:28 +01:00
parent d6c94a35c4
commit 2a40ac1377

View file

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