logging for report new matches

This commit is contained in:
Lanta 2025-04-03 09:04:50 +02:00
parent 3b7e07a9bd
commit e493cda473
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
Start-Transcript -Path '/var/log/dtch/report_new_matches.log' -Append $logprefix = get-date -Format ddMMyyy_HHmmss
Start-Transcript -Path "../logs/report_new_matches_$logprefix.log" -Append
if ($PSScriptRoot.length -eq 0) { if ($PSScriptRoot.length -eq 0) {
$scriptroot = Get-Location $scriptroot = Get-Location

1
logs/REAMD.MD Normal file
View file

@ -0,0 +1 @@
Location for logs