From 733782f2149273fc51c9782aea648cb0f60f4fda Mon Sep 17 00:00:00 2001 From: AliciaRaven Date: Thu, 15 Sep 2016 18:45:42 +0100 Subject: Minor. Make email module log message format consistent with other modules --- .../Region/CoreModules/Scripting/EMailModules/EmailModule.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs index 0752ae5..d59cfa9 100644 --- a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs @@ -113,7 +113,7 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules } catch (Exception e) { - m_log.Error("[EMAIL] DefaultEmailModule not configured: " + e.Message); + m_log.Error("[EMAIL]: DefaultEmailModule not configured: " + e.Message); m_Enabled = false; return; } @@ -142,7 +142,7 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules } } - m_log.Info("[EMAIL] Activated DefaultEmailModule"); + m_log.Info("[EMAIL]: Activated DefaultEmailModule"); } public void RemoveRegion(Scene scene) @@ -268,12 +268,12 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules bool isEMailStrictMatch = EMailreStrict.IsMatch(address); if (!isEMailStrictMatch) { - m_log.Error("[EMAIL] REGEX Problem in EMail Address: "+address); + m_log.Error("[EMAIL]: REGEX Problem in EMail Address: "+address); return; } if ((subject.Length + body.Length) > m_MaxEmailSize) { - m_log.Error("[EMAIL] subject + body larger than limit of " + m_MaxEmailSize + " bytes"); + m_log.Error("[EMAIL]: subject + body larger than limit of " + m_MaxEmailSize + " bytes"); return; } @@ -318,11 +318,11 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules emailMessage.Send(smtpServer); //Log - m_log.Info("[EMAIL] EMail sent to: " + address + " from object: " + objectID.ToString() + "@" + m_HostName); + m_log.Info("[EMAIL]: EMail sent to: " + address + " from object: " + objectID.ToString() + "@" + m_HostName); } catch (Exception e) { - m_log.Error("[EMAIL] DefaultEmailModule Exception: " + e.Message); + m_log.Error("[EMAIL]: DefaultEmailModule Exception: " + e.Message); } } else -- cgit v1.1