From 328d242122f60f640e8ca44c605a135729281f31 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 15 Dec 2021 14:12:32 +1000 Subject: Update log4net to avoid log4shell security hole. Alledgedly. --- OpenSim/Region/Application/Application.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 7c3b6c5..d6c449c 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -103,6 +103,9 @@ namespace OpenSim else { XmlConfigurator.Configure(); +//// The fixed version of log4net doesn't support this, but the broken one does. FFS! +//// m_log.InfoFormat("[OPENSIM MAIN]: configured log4net {0} using default OpenSim.exe.config", log4net.AssemblyInfo.Version); +//// m_log.Info("[OPENSIM MAIN]: " + log4net.AssemblyInfo.Info); m_log.Info("[OPENSIM MAIN]: configured log4net using default OpenSim.exe.config"); } -- cgit v1.1