V4.1.0 - Change log's location

It's too bad the path isn't inside an environment variable. Then you could have used it directly in the Config.psd1

The best time to set the log file location is BEFORE the session opens.
I know you can change the NAME of the log file but I've never tried to set the log file LOCATION.

Near the top of the FrontScript (aka Invoke-AppDeployToolkit.ps1) where $adtSession is defined, try something this:

$adtSession = @{
    # App variables.
    AppVendor = 'Microsloth'
...
...
}
#Set Logging Location:
If ($Something -eq $true)
	$adtSession.LogPath = "C:\logpath1"
} Else {
	$adtSession.LogPath = "C:\logpath2"
}