From cb7ccd7a7f89acdee76cc98ed1cbb36e60d8b57a Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Fri, 27 Nov 2020 15:40:28 -0500 Subject: [PATCH] change the source of the service logs for the collect logs functionality --- ZitiUpdateService/UpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZitiUpdateService/UpdateService.cs b/ZitiUpdateService/UpdateService.cs index eeb65896..30626ad7 100644 --- a/ZitiUpdateService/UpdateService.cs +++ b/ZitiUpdateService/UpdateService.cs @@ -60,7 +60,7 @@ namespace ZitiUpdateService { string logLocation = Path.Combine(exeLocation, "logs"); string destinationLocation = Path.Combine(exeLocation, "temp"); - string serviceLogsLocation = Path.Combine(Environment.GetEnvironmentVariable("APPDATA"), "NetFoundry"); + string serviceLogsLocation = Path.Combine(logLocation, "service"); string serviceLogsDest = Path.Combine(destinationLocation, "service"); Logger.Debug("removing leftover temp folder: {0}", destinationLocation);