Log message correction in log()
This commit is contained in:
parent
d6c94a35c4
commit
2a40ac1377
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ if ( -not $conf ) {
|
||||||
if ( $log ) {
|
if ( $log ) {
|
||||||
$logname = (Get-Item $conf ).Basename
|
$logname = (Get-Item $conf ).Basename
|
||||||
$global:logfile = "$PSScriptRoot\log\$((Get-Date).ToString("yyyy.MM.dd"))_$($logname).log"
|
$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)
|
# Zip old messah=ges (Archives)
|
||||||
# TODO: Test this functionnality
|
# TODO: Test this functionnality
|
||||||
|
|
Reference in a new issue