Skip to content

Commit

Permalink
(#565) Rename LogUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
jibedoubleve committed Aug 2, 2024
1 parent d0d8736 commit e48a324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Lanceur.Infra/Constants/Paths.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public static class Paths
{
#region Fields

private static readonly Conditional<string> LogUrlValue = new("http://localhost:5341", "http://ec2-35-180-121-110.eu-west-3.compute.amazonaws.com:5341");
private static readonly Conditional<string> TelemetryUrlValue = new("http://localhost:5341", "http://ec2-35-180-121-110.eu-west-3.compute.amazonaws.com:5341");

#endregion Fields

Expand All @@ -16,7 +16,7 @@ public static class Paths
public static string DefaultDb { get; } = @"%appdata%\probel\lanceur2\data.sqlite".ExpandPath();
public static string ImageRepository { get; } = @"%appdata%\probel\lanceur2\thumbnails".ExpandPath();
public static string LogFile { get; } = @"%appdata%\probel\lanceur2\logs\probel-lanceur..clef".ExpandPath();
public static string LogUrl => LogUrlValue;
public static string TelemetryUrl => TelemetryUrlValue;
public static string PluginUninstallLogs { get; } = @"%appdata%\probel\lanceur2\.plugin-uninstall".ExpandPath();
public static string Settings { get; } = @"%appdata%\probel\lanceur2\settings.json".ExpandPath();

Expand Down
2 changes: 1 addition & 1 deletion src/Lanceur/Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private static void RegisterLoggers()
rollingInterval: RollingInterval.Day
)
.WriteTo.Console()
.WriteTo.Seq(Paths.LogUrl)
.WriteTo.Seq(Paths.TelemetryUrl)
.CreateLogger();
_serviceProvider = new ServiceCollection().AddLogging(b => b.AddSerilog(Log.Logger))
.BuildServiceProvider();
Expand Down

0 comments on commit e48a324

Please sign in to comment.