diff --git a/AtlassianCloudBackupsTool/Program.cs b/AtlassianCloudBackupsTool/Program.cs index bcdc299..6d4360d 100644 --- a/AtlassianCloudBackupsTool/Program.cs +++ b/AtlassianCloudBackupsTool/Program.cs @@ -16,9 +16,10 @@ public static void Main(string[] args) { ParameterCollection parameters = new ParameterCollection(args); - var logLocation = parameters.GetParameterValue("logPath") ?? @"c:\\temp"; + var logLocation = parameters.GetParameterValue("logPath") ?? Path.GetTempPath(); var logFileName = parameters.GetParameterValue("logFileName") ?? "atlassian-could-backup-tool.log"; - + Console.WriteLine($"Log file can be found at {logLocation}/{logFileName}"); + _logLabel = "Backup-Tool"; Logger.Current.Init(logLocation, logFileName);