diff --git a/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj
index f15df17..fe30e6a 100644
--- a/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj
+++ b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj
@@ -9,8 +9,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ElectricLocomotive/ElectricLocomotive/Program.cs b/ElectricLocomotive/ElectricLocomotive/Program.cs
index 3280605..6d62a0d 100644
--- a/ElectricLocomotive/ElectricLocomotive/Program.cs
+++ b/ElectricLocomotive/ElectricLocomotive/Program.cs
@@ -1,8 +1,7 @@
-
+using Serilog;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
-
-
+using Microsoft.Extensions.Configuration;
namespace ElectricLocomotive
{
@@ -23,7 +22,7 @@ namespace ElectricLocomotive
}
private static void ConfigureServices(ServiceCollection services)
{
- services.AddSingleton().AddLoggging(option =>//траблы с Addlogging
+ services.AddSingleton().AddLogging(option =>
{
string[] path = Directory.GetCurrentDirectory().Split('\\');
string pathNeed = "";
diff --git a/ElectricLocomotive/ElectricLocomotive/appSettings.json b/ElectricLocomotive/ElectricLocomotive/appSettings.json
index f98af6a..49318ec 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}"
}