diff --git a/MP.Data/Services/IOC/IocService.cs b/MP.Data/Services/IOC/IocService.cs
index 27cf07d5..5db8d93a 100644
--- a/MP.Data/Services/IOC/IocService.cs
+++ b/MP.Data/Services/IOC/IocService.cs
@@ -100,7 +100,7 @@ namespace MP.Data.Services.IOC
return await GetCurrOdlByProdAsync(idxMacchina);
},
expiration: GetRandTOut(redisLongTimeCache),
- tagList: ["IOC_CurrOdl", cKey, idxMacchina]
+ tagList: [idxMacchina]
);
#if false
diff --git a/MP.IOC/Data/MpDataService.cs b/MP.IOC/Data/MpDataService.cs
index 59802944..1d73bb38 100644
--- a/MP.IOC/Data/MpDataService.cs
+++ b/MP.IOC/Data/MpDataService.cs
@@ -1224,7 +1224,7 @@ namespace MP.IOC.Data
cacheKey: $"{Utils.redisOdlList}:Current:{IdxMacchina}",
expiration: TimeSpan.FromSeconds(redisShortTimeCache),
fetchFunc: async () => (await IocDbController.OdlCurrByMaccAsync(IdxMacchina)) ?? new ODLExpModel(),
- tagList: [Utils.redisOdlList]
+ tagList: [Utils.redisOdlList, IdxMacchina]
);
}
diff --git a/MP.IOC/MP.IOC.csproj b/MP.IOC/MP.IOC.csproj
index 7049ec52..5f92b4c7 100644
--- a/MP.IOC/MP.IOC.csproj
+++ b/MP.IOC/MP.IOC.csproj
@@ -4,7 +4,7 @@
net8.0
enable
enable
- 8.16.2606.1210
+ 8.16.2606.1212
diff --git a/MP.IOC/Resources/ChangeLog.html b/MP.IOC/Resources/ChangeLog.html
index 330938ad..d6a97867 100644
--- a/MP.IOC/Resources/ChangeLog.html
+++ b/MP.IOC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MP-IOC
- Versione: 8.16.2606.1210
+ Versione: 8.16.2606.1212
Note di rilascio:
-
diff --git a/MP.IOC/Resources/VersNum.txt b/MP.IOC/Resources/VersNum.txt
index 96ea4ac5..c0099cc4 100644
--- a/MP.IOC/Resources/VersNum.txt
+++ b/MP.IOC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.1210
+8.16.2606.1212
diff --git a/MP.IOC/Resources/manifest.xml b/MP.IOC/Resources/manifest.xml
index 36f70f91..978aa6f8 100644
--- a/MP.IOC/Resources/manifest.xml
+++ b/MP.IOC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.1210
+ 8.16.2606.1212
https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip
https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html
false
diff --git a/MP.RIOC/MP.RIOC.csproj b/MP.RIOC/MP.RIOC.csproj
index 9d41d7d1..d025b198 100644
--- a/MP.RIOC/MP.RIOC.csproj
+++ b/MP.RIOC/MP.RIOC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.RIOC
- 8.16.2606.1208
+ 8.16.2606.1212
InProcess
diff --git a/MP.RIOC/Program.cs b/MP.RIOC/Program.cs
index fbf3066d..f2fd466a 100644
--- a/MP.RIOC/Program.cs
+++ b/MP.RIOC/Program.cs
@@ -18,6 +18,9 @@ var logger = LogManager.Setup()
.LoadConfigurationFromAppSettings()
.GetCurrentClassLogger();
+builder.Logging.ClearProviders();
+builder.Host.UseNLog();
+
var assemblyVersion = Assembly.GetExecutingAssembly().GetName().Version?.ToString();
logger.Info($"MP.RIOC | Program.cs: startup | v.{assemblyVersion}");
logger.Info($"Current ASPNETCORE_ENVIRONMENT: {env.EnvironmentName}");
diff --git a/MP.RIOC/Resources/ChangeLog.html b/MP.RIOC/Resources/ChangeLog.html
index fd556bd8..192b2593 100644
--- a/MP.RIOC/Resources/ChangeLog.html
+++ b/MP.RIOC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MP-RIOC
-
Versione: 8.16.2606.1208
+ Versione: 8.16.2606.1212
Note di rilascio:
-
diff --git a/MP.RIOC/Resources/VersNum.txt b/MP.RIOC/Resources/VersNum.txt
index fe6ac8c4..c0099cc4 100644
--- a/MP.RIOC/Resources/VersNum.txt
+++ b/MP.RIOC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.1208
+8.16.2606.1212
diff --git a/MP.RIOC/Resources/manifest.xml b/MP.RIOC/Resources/manifest.xml
index af3135c8..1c07d5fc 100644
--- a/MP.RIOC/Resources/manifest.xml
+++ b/MP.RIOC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.1208
+ 8.16.2606.1212
https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/MP.RIOC.zip
https://nexus.steamware.net/repository/SWS/MP-RIOC/stable/LAST/ChangeLog.html
false
diff --git a/MP.RIOC/appsettings.json b/MP.RIOC/appsettings.json
index 958cb8ba..334c3b27 100644
--- a/MP.RIOC/appsettings.json
+++ b/MP.RIOC/appsettings.json
@@ -3,9 +3,10 @@
"LogLevel": {
"Default": "Information",
"Yarp": "Debug",
- "Microsoft.AspNetCore": "Warning",
+ "Microsoft.AspNetCore.Hosting.Diagnostics": "Information",
+ "Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"Microsoft.EntityFrameworkCore": "Warning",
- "Microsoft.EntityFrameworkCore.Database.Command": "Warning"
+ "Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
@@ -24,7 +25,7 @@
"logfile": {
"type": "File",
"fileName": "${basedir}/logs/${shortdate}.log",
- "keepFileOpen": false,
+ "keepFileOpen": true,
"archiveEvery": "Day",
"archiveFileName": "${basedir}/logs/old/${shortdate}_{#}.log",
"archiveNumbering": "DateAndSequence",
@@ -39,9 +40,24 @@
}
},
"rules": [
+ {
+ "logger": "Microsoft.EntityFrameworkCore.*",
+ "maxLevel": "Info",
+ "final": true
+ },
+ {
+ "logger": "Microsoft.AspNetCore.Hosting.*",
+ "minLevel": "Info",
+ "finalMinLevel": "Info"
+ },
+ {
+ "logger": "Microsoft.AspNetCore.*",
+ "maxLevel": "Info",
+ "finalMinLevel": "Info"
+ },
{
"logger": "*",
- "minLevel": "Trace",
+ "minLevel": "Info",
"writeTo": "logconsole"
},
{