From 2bb7382a7042c5ceec51a5bc3ab5636cd753648c Mon Sep 17 00:00:00 2001 From: David Bennett Date: Thu, 29 Feb 2024 16:11:22 -0800 Subject: [PATCH] Rename logfile extension --- src/AzureExtension/Client/Logging.cs | 2 +- src/AzureExtension/DataModel/Logging.cs | 2 +- src/AzureExtension/DeveloperId/Logging.cs | 2 +- src/AzureExtension/Notifications/Logging.cs | 2 +- src/AzureExtension/Providers/Logging.cs | 2 +- src/AzureExtension/Widgets/Logging.cs | 2 +- src/AzureExtensionServer/Logging.cs | 2 +- src/Logging/listeners/LogFileListenerOptions.cs | 2 +- test/AzureExtension/Helpers/TestSetupHelpers.cs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/AzureExtension/Client/Logging.cs b/src/AzureExtension/Client/Logging.cs index 893c1b9..22dde65 100644 --- a/src/AzureExtension/Client/Logging.cs +++ b/src/AzureExtension/Client/Logging.cs @@ -41,7 +41,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = $"{_loggerName}_{{now}}.log", + LogFileName = $"{_loggerName}_{{now}}.dhlog", LogFileFolderName = _loggerName, DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtension/DataModel/Logging.cs b/src/AzureExtension/DataModel/Logging.cs index 1b148a6..0f9ffcd 100644 --- a/src/AzureExtension/DataModel/Logging.cs +++ b/src/AzureExtension/DataModel/Logging.cs @@ -39,7 +39,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "DataStore_{now}.log", + LogFileName = "DataStore_{now}.dhlog", LogFileFolderName = "DataStore", DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtension/DeveloperId/Logging.cs b/src/AzureExtension/DeveloperId/Logging.cs index 7eeb7c0..23120cb 100644 --- a/src/AzureExtension/DeveloperId/Logging.cs +++ b/src/AzureExtension/DeveloperId/Logging.cs @@ -39,7 +39,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "DeveloperId_{now}.log", + LogFileName = "DeveloperId_{now}.dhlog", LogFileFolderName = "DeveloperId", DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtension/Notifications/Logging.cs b/src/AzureExtension/Notifications/Logging.cs index e59fcdf..28252c0 100644 --- a/src/AzureExtension/Notifications/Logging.cs +++ b/src/AzureExtension/Notifications/Logging.cs @@ -39,7 +39,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "Notifications_{now}.log", + LogFileName = "Notifications_{now}.dhlog", LogFileFolderName = "Notifications", DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtension/Providers/Logging.cs b/src/AzureExtension/Providers/Logging.cs index 6917ab8..b734738 100644 --- a/src/AzureExtension/Providers/Logging.cs +++ b/src/AzureExtension/Providers/Logging.cs @@ -30,7 +30,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "AzureExtension_{now}.log", + LogFileName = "AzureExtension_{now}.dhlog", LogFileFolderName = "AzureExtension", DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtension/Widgets/Logging.cs b/src/AzureExtension/Widgets/Logging.cs index d5d29e5..011fb7a 100644 --- a/src/AzureExtension/Widgets/Logging.cs +++ b/src/AzureExtension/Widgets/Logging.cs @@ -30,7 +30,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "Widgets_{now}.log", + LogFileName = "Widgets_{now}.dhlog", LogFileFolderName = "Widgets", DebugListenerEnabled = true, #if DEBUG diff --git a/src/AzureExtensionServer/Logging.cs b/src/AzureExtensionServer/Logging.cs index aca9a10..0e8a3ac 100644 --- a/src/AzureExtensionServer/Logging.cs +++ b/src/AzureExtensionServer/Logging.cs @@ -30,7 +30,7 @@ public static Options GetLoggingOptions() return new Options { LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path, - LogFileName = "ExtensionServer_{now}.log", + LogFileName = "ExtensionServer_{now}.dhlog", LogFileFolderName = "ExtensionServer", DebugListenerEnabled = true, #if DEBUG diff --git a/src/Logging/listeners/LogFileListenerOptions.cs b/src/Logging/listeners/LogFileListenerOptions.cs index 53ab460..5a38652 100644 --- a/src/Logging/listeners/LogFileListenerOptions.cs +++ b/src/Logging/listeners/LogFileListenerOptions.cs @@ -5,7 +5,7 @@ namespace DevHome.Logging; public partial class Options { - private const string LogFileNameDefault = "DevHomeAzureExtension.log"; + private const string LogFileNameDefault = "DevHomeAzureExtension.dhlog"; private const string LogFileFolderNameDefault = "{now}"; public string LogFileName { get; set; } = LogFileNameDefault; diff --git a/test/AzureExtension/Helpers/TestSetupHelpers.cs b/test/AzureExtension/Helpers/TestSetupHelpers.cs index e1cb51c..89db8ad 100644 --- a/test/AzureExtension/Helpers/TestSetupHelpers.cs +++ b/test/AzureExtension/Helpers/TestSetupHelpers.cs @@ -10,7 +10,7 @@ namespace DevHomeAzureExtension.Test; public partial class TestHelpers { private const string DataBaseFileName = "AzureExtension-Test.db"; - private const string LogFileName = "AzureExtension-{now}.log"; + private const string LogFileName = "AzureExtension-{now}.dhlog"; private static readonly TimeSpan CleanupRetryWaitTime = TimeSpan.FromSeconds(10); public static void CleanupTempTestOptions(TestOptions options, TestContext context)