From 5c9ef4d083a6162b097797aacfc83d3cdeb50c73 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Wed, 15 Oct 2014 09:42:29 -0400 Subject: Fix logging level to Error in exception handlers --- OpenSim/Data/MySQL/MySQLUserProfilesData.cs | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'OpenSim/Data/MySQL/MySQLUserProfilesData.cs') diff --git a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs index 7e846e3..c8479f0 100644 --- a/OpenSim/Data/MySQL/MySQLUserProfilesData.cs +++ b/OpenSim/Data/MySQL/MySQLUserProfilesData.cs @@ -111,7 +111,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": UserAccount exception {0}", e.Message); } n.Add("classifieduuid", OSD.FromUUID(Id)); @@ -232,7 +232,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": ClassifiedesUpdate exception {0}", e.Message); result = e.Message; return false; @@ -262,7 +262,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": DeleteClassifiedRecord exception {0}", e.Message); return false; } @@ -312,7 +312,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": GetPickInfo exception {0}", e.Message); } return true; @@ -356,7 +356,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": GetAvatarPicks exception {0}", e.Message); } return data; @@ -413,7 +413,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": GetPickInfo exception {0}", e.Message); } return pick; @@ -472,7 +472,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": UpdateAvatarNotes exception {0}", e.Message); return false; } @@ -502,7 +502,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": DeleteUserPickRecord exception {0}", e.Message); return false; } @@ -547,7 +547,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": GetAvatarNotes exception {0}", e.Message); } return true; @@ -595,7 +595,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": UpdateAvatarNotes exception {0}", e.Message); return false; } @@ -713,7 +713,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": Requst properties exception {0}", e.Message); result = e.Message; return false; @@ -753,7 +753,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": AgentPropertiesUpdate exception {0}", e.Message); return false; @@ -795,7 +795,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": AgentInterestsUpdate exception {0}", e.Message); result = e.Message; return false; @@ -878,7 +878,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": GetAvatarNotes exception {0}", e.Message); } return data; @@ -936,7 +936,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": Get preferences exception {0}", e.Message); result = e.Message; return false; @@ -970,7 +970,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": AgentInterestsUpdate exception {0}", e.Message); result = e.Message; return false; @@ -1030,7 +1030,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": Requst application data exception {0}", e.Message); result = e.Message; return false; @@ -1067,7 +1067,7 @@ namespace OpenSim.Data.MySQL } catch (Exception e) { - m_log.DebugFormat("[PROFILES_DATA]" + + m_log.ErrorFormat("[PROFILES_DATA]" + ": SetUserData exception {0}", e.Message); return false; } -- cgit v1.1