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}" }