From 26ffabe715b493beddcf497253993c2be3285f27 Mon Sep 17 00:00:00 2001 From: tellsense Date: Mon, 11 Dec 2023 00:50:08 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20#2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ElectricLocomotive/FormLocomotiveCollection.cs | 4 ++-- ElectricLocomotive/ElectricLocomotive/appsettings.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs index 384b88a..74ab322 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs @@ -53,7 +53,7 @@ namespace ProjectElectricLocomotive _logger.LogWarning("Неудачная попытка. Коллекция не добавлена, не все данные заполнены"); return; } - _storage.AddSet(textBoxSetName.Text); + _storage.AddSet(textBoxSetName.Text); ReloadObjects(); _logger.LogInformation($"Добавлен набор: {textBoxSetName.Text}"); @@ -108,7 +108,7 @@ namespace ProjectElectricLocomotive ReloadObjects(); _logger.LogInformation($"Набор '{name}' удален"); } - _logger.LogWarning("Отмена удаления набора"); + _logger.LogWarning("Отмена удаления набора"); } private void buttonRemoveLocomotive_Click(object sender, EventArgs e) { diff --git a/ElectricLocomotive/ElectricLocomotive/appsettings.json b/ElectricLocomotive/ElectricLocomotive/appsettings.json index 5df1c9c..5032ccf 100644 --- a/ElectricLocomotive/ElectricLocomotive/appsettings.json +++ b/ElectricLocomotive/ElectricLocomotive/appsettings.json @@ -6,7 +6,7 @@ { "Name": "File", "Args": { - "path": "log_.log", + "path": "Logs/log_.log", "rollingInterval": "Day", "outputTemplate": "[{Timestamp:HH:mm:ss.fff}]{Level:u4}: {Message:lj}{NewLine}{Exception}" }