Skip to content

Commit

Permalink
Rename logfile extension (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkbennett authored Mar 1, 2024
1 parent d17b8e4 commit 40dd4ba
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/GitHubExtension/DataModel/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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
Expand Down
2 changes: 1 addition & 1 deletion src/GitHubExtension/DeveloperId/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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
Expand Down
2 changes: 1 addition & 1 deletion src/GitHubExtension/Notifications/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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
Expand Down
2 changes: 1 addition & 1 deletion src/GitHubExtension/Providers/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static Options GetLoggingOptions()
return new Options
{
LogFileFolderRoot = ApplicationData.Current.TemporaryFolder.Path,
LogFileName = "GitHubExtension_{now}.log",
LogFileName = "GitHubExtension_{now}.dhlog",
LogFileFolderName = "GitHubExtension",
DebugListenerEnabled = true,
#if DEBUG
Expand Down
2 changes: 1 addition & 1 deletion src/GitHubExtension/Widgets/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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
Expand Down
2 changes: 1 addition & 1 deletion src/GitHubExtensionServer/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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
Expand Down
2 changes: 1 addition & 1 deletion src/Logging/listeners/LogFileListenerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace DevHome.Logging;

public partial class Options
{
private const string LogFileNameDefault = "DevHomeGitHubExtension.log";
private const string LogFileNameDefault = "DevHomeGitHubExtension.dhlog";
private const string LogFileFolderNameDefault = "{now}";

public string LogFileName { get; set; } = LogFileNameDefault;
Expand Down
2 changes: 1 addition & 1 deletion test/GitHubExtension/Helpers/TestSetupHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace GitHubExtension.Test;
public partial class TestHelpers
{
private const string DataBaseFileName = "GitHubExtension-Test.db";
private const string LogFileName = "GitHubExtension-{now}.log";
private const string LogFileName = "GitHubExtension-{now}.dhlog";

public static void CleanupTempTestOptions(TestOptions options, TestContext context)
{
Expand Down

0 comments on commit 40dd4ba

Please sign in to comment.