From 9aa31338d6ec3297b692bb481ecd6498bf043ab9 Mon Sep 17 00:00:00 2001 From: Robert McRackan Date: Wed, 21 Jul 2021 13:48:52 -0400 Subject: [PATCH] New locale: Spain --- FileManager/Configuration.cs | 5 +++++ LibationLauncher/LibationLauncher.csproj | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/FileManager/Configuration.cs b/FileManager/Configuration.cs index 6fb1be65..1d2ecd1d 100644 --- a/FileManager/Configuration.cs +++ b/FileManager/Configuration.cs @@ -156,6 +156,11 @@ namespace FileManager private IConfigurationRoot configuration; public void ConfigureLogging() { + //// with code. also persists to Settings.json + //SetWithJsonPath("Serilog.WriteTo[1].Args", "path", logPath, true); + //// hack which achieves the same, in memory only + //configuration["Serilog:WriteTo:1:Args:path"] = logPath; + configuration = new ConfigurationBuilder() .AddJsonFile(SettingsFilePath, optional: false, reloadOnChange: true) .Build(); diff --git a/LibationLauncher/LibationLauncher.csproj b/LibationLauncher/LibationLauncher.csproj index 58d68a87..416907c5 100644 --- a/LibationLauncher/LibationLauncher.csproj +++ b/LibationLauncher/LibationLauncher.csproj @@ -13,7 +13,7 @@ win-x64 - 5.3.0.1 + 5.3.1.1