diff --git a/(Setup) Log 4 Graylog/(Setup) Log 4 Graylog.vdproj b/(Setup) Log 4 Graylog/(Setup) Log 4 Graylog.vdproj
index 3c86a7a..adc18ed 100644
--- a/(Setup) Log 4 Graylog/(Setup) Log 4 Graylog.vdproj
+++ b/(Setup) Log 4 Graylog/(Setup) Log 4 Graylog.vdproj
@@ -21,7 +21,7 @@
}
"Entry"
{
- "MsmKey" = "8:_B7C9512C21954D9088AFF74B0D0F682B"
+ "MsmKey" = "8:_4F69E6F677D2494E9E867224E3551233"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
}
@@ -122,10 +122,10 @@
}
"File"
{
- "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_B7C9512C21954D9088AFF74B0D0F682B"
+ "{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_4F69E6F677D2494E9E867224E3551233"
{
- "SourcePath" = "8:E:\\GFX\\Loghi e Icone\\008 - Log 4 Graylog\\log-4-graylog.ico"
- "TargetName" = "8:log-4-graylog.ico"
+ "SourcePath" = "8:..\\console_log4graylog\\Log_4_Graylog.ico"
+ "TargetName" = "8:Log_4_Graylog.ico"
"Tag" = "8:"
"Folder" = "8:_9B600ABCFF494174A956D068E6CF1046"
"Condition" = "8:"
@@ -199,11 +199,11 @@
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Log 4 Graylog"
"ProductCode" = "8:{E73F35BF-F750-4609-A786-958CE5C83DE7}"
- "PackageCode" = "8:{ACC078E3-F12A-4087-A8AE-D7B8DF393845}"
+ "PackageCode" = "8:{558BC65A-00BF-4BBE-A6DC-C9AB352A4690}"
"UpgradeCode" = "8:{7CE09C91-3C26-4C8E-BC66-003536E12481}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
- "RemovePreviousVersions" = "11:FALSE"
+ "RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:TRUE"
"ProductVersion" = "8:1.0.2"
@@ -212,11 +212,11 @@
"ARPHELPLINK" = "8:"
"Title" = "8:Log 4 Graylog"
"Subject" = "8:"
- "ARPCONTACT" = "8:PAL s.r.l."
+ "ARPCONTACT" = "8:Claudio Boggian @ PAL s.r.l."
"Keywords" = "8:"
"ARPCOMMENTS" = "8:"
- "ARPURLINFOABOUT" = "8:"
- "ARPPRODUCTICON" = "8:"
+ "ARPURLINFOABOUT" = "8:https://www.imalpal.com/en/"
+ "ARPPRODUCTICON" = "8:_4F69E6F677D2494E9E867224E3551233"
"ARPIconIndex" = "3:0"
"SearchPath" = "8:"
"UseSystemSearchPath" = "11:TRUE"
@@ -330,7 +330,7 @@
"Target" = "8:_485C7AAA71924496B4CCA8F2B60EB371"
"Folder" = "8:_5CBF406C9E44415E87BBF1E35E297CB9"
"WorkingFolder" = "8:_9B600ABCFF494174A956D068E6CF1046"
- "Icon" = "8:_B7C9512C21954D9088AFF74B0D0F682B"
+ "Icon" = "8:_4F69E6F677D2494E9E867224E3551233"
"Feature" = "8:"
}
"{970C0BB2-C7D0-45D7-ABFA-7EC378858BC0}:_7D574C8D097B44558FBEBD9AF12F9D46"
@@ -344,7 +344,7 @@
"Target" = "8:_485C7AAA71924496B4CCA8F2B60EB371"
"Folder" = "8:_1D6B671D343A4228A354CA138B3705BD"
"WorkingFolder" = "8:_9B600ABCFF494174A956D068E6CF1046"
- "Icon" = "8:_B7C9512C21954D9088AFF74B0D0F682B"
+ "Icon" = "8:_4F69E6F677D2494E9E867224E3551233"
"Feature" = "8:"
}
}
diff --git a/console_log4graylog/Log-4-Graylog.ico b/console_log4graylog/Log-4-Graylog.ico
deleted file mode 100644
index ec99eaa..0000000
Binary files a/console_log4graylog/Log-4-Graylog.ico and /dev/null differ
diff --git a/console_log4graylog/Log_4_Graylog.ico b/console_log4graylog/Log_4_Graylog.ico
new file mode 100644
index 0000000..82ecb24
Binary files /dev/null and b/console_log4graylog/Log_4_Graylog.ico differ
diff --git a/console_log4graylog/Models/CyberPlanModel.cs b/console_log4graylog/Models/CyberPlanModel.cs
index a328fd8..287747a 100644
--- a/console_log4graylog/Models/CyberPlanModel.cs
+++ b/console_log4graylog/Models/CyberPlanModel.cs
@@ -1,10 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace console_log4graylog.Models
+namespace console_log4graylog.Models
{
public class CyberPlanModel
{
diff --git a/console_log4graylog/Program.cs b/console_log4graylog/Program.cs
index e043030..a1ca212 100644
--- a/console_log4graylog/Program.cs
+++ b/console_log4graylog/Program.cs
@@ -1,12 +1,9 @@
-using console_log4graylog.Workers;
+using console_log4graylog.Models;
+using console_log4graylog.Workers;
using Microsoft.Extensions.Configuration;
using Serilog;
-using Serilog.Core;
-using Serilog.Events;
using Serilog.Sinks.Graylog;
using System.ServiceProcess;
-using console_log4graylog.Models;
-using System.Net;
namespace console_log4graylog
{
@@ -25,7 +22,6 @@ namespace console_log4graylog
Log.Logger = new LoggerConfiguration()
.Enrich.FromLogContext()
- //.Enrich.WithProperty("HostName", Dns.GetHostName())
.WriteTo.Graylog(new GraylogSinkOptions
{
HostnameOrAddress = graylogSettings.HostnameOrAddress,
diff --git a/console_log4graylog/Utils/Log4Platform.cs b/console_log4graylog/Utils/Log4Platform.cs
index 3ccb17f..62df69b 100644
--- a/console_log4graylog/Utils/Log4Platform.cs
+++ b/console_log4graylog/Utils/Log4Platform.cs
@@ -1,11 +1,5 @@
using console_log4graylog.Models;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
using Serilog;
-using Serilog.Events;
namespace console_log4graylog.Utils
{
diff --git a/console_log4graylog/console_log4graylog.csproj b/console_log4graylog/console_log4graylog.csproj
index 7205fe6..5f45bd9 100644
--- a/console_log4graylog/console_log4graylog.csproj
+++ b/console_log4graylog/console_log4graylog.csproj
@@ -5,7 +5,7 @@
net9.0
enable
enable
- Log-4-Graylog.ico
+ Log_4_Graylog.ico
critical
@@ -18,7 +18,7 @@
-
+
Always