Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Changes name of log file
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoghlan committed Feb 28, 2018
1 parent ad8ae59 commit fcfcba6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Examples/Convert2EntityBelongsTo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ $pathSeparator = [IO.Path]::DirectorySeparatorChar
$dtstring = get-date -format "yyyy_MM_dd_HH_mm_ss"
# Name and location of the debug log file. This will place it in the directory
# where this script is run from and will work cross-platform
$DebugLogFile = ".$($pathSeparator)debuglogfile-$dtstring.log"
$DebugFileNamePrefix = [System.IO.Path]::GetFileNameWithoutExtension($MyInvocation.InvocationName)
$DebugLogFile = ".$($pathSeparator)$($DebugFileNamePrefix)_$dtstring.log"
# Take note of the start time
$StartTime = Get-Date

Expand Down

0 comments on commit fcfcba6

Please sign in to comment.