Fix logging level to Error in exception handlers

mb-throttle-test
BlueWall 2014-10-15 09:42:29 -04:00
parent 231cdc2dc1
commit 5c9ef4d083
3 changed files with 54 additions and 54 deletions

View File

@ -111,7 +111,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UserAccount exception {0}", e.Message); ": UserAccount exception {0}", e.Message);
} }
n.Add("classifieduuid", OSD.FromUUID(Id)); n.Add("classifieduuid", OSD.FromUUID(Id));
@ -232,7 +232,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": ClassifiedesUpdate exception {0}", e.Message); ": ClassifiedesUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -262,7 +262,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteClassifiedRecord exception {0}", e.Message); ": DeleteClassifiedRecord exception {0}", e.Message);
return false; return false;
} }
@ -312,7 +312,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message); ": GetPickInfo exception {0}", e.Message);
} }
return true; return true;
@ -356,7 +356,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarPicks exception {0}", e.Message); ": GetAvatarPicks exception {0}", e.Message);
} }
return data; return data;
@ -413,7 +413,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message); ": GetPickInfo exception {0}", e.Message);
} }
return pick; return pick;
@ -472,7 +472,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -502,7 +502,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteUserPickRecord exception {0}", e.Message); ": DeleteUserPickRecord exception {0}", e.Message);
return false; return false;
} }
@ -547,7 +547,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return true; return true;
@ -595,7 +595,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -713,7 +713,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst properties exception {0}", e.Message); ": Requst properties exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -753,7 +753,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentPropertiesUpdate exception {0}", e.Message); ": AgentPropertiesUpdate exception {0}", e.Message);
return false; return false;
@ -795,7 +795,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -878,7 +878,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return data; return data;
@ -936,7 +936,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Get preferences exception {0}", e.Message); ": Get preferences exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -970,7 +970,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -1030,7 +1030,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst application data exception {0}", e.Message); ": Requst application data exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -1067,7 +1067,7 @@ namespace OpenSim.Data.MySQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": SetUserData exception {0}", e.Message); ": SetUserData exception {0}", e.Message);
return false; return false;
} }

View File

@ -119,7 +119,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UserAccount exception {0}", e.Message); ": UserAccount exception {0}", e.Message);
} }
n.Add("classifieduuid", OSD.FromUUID(Id)); n.Add("classifieduuid", OSD.FromUUID(Id));
@ -212,7 +212,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": ClassifiedesUpdate exception {0}", e.Message); ": ClassifiedesUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -246,7 +246,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteClassifiedRecord exception {0}", e.Message); ": DeleteClassifiedRecord exception {0}", e.Message);
return false; return false;
} }
@ -295,7 +295,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetClassifiedInfo exception {0}", e.Message); ": GetClassifiedInfo exception {0}", e.Message);
} }
return true; return true;
@ -350,7 +350,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarPicks exception {0}", e.Message); ": GetAvatarPicks exception {0}", e.Message);
} }
return data; return data;
@ -407,7 +407,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message); ": GetPickInfo exception {0}", e.Message);
} }
return pick; return pick;
@ -460,7 +460,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -490,7 +490,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteUserPickRecord exception {0}", e.Message); ": DeleteUserPickRecord exception {0}", e.Message);
return false; return false;
} }
@ -531,7 +531,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return true; return true;
@ -580,7 +580,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -706,7 +706,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst properties exception {0}", e.Message; ": Requst properties exception {0}", e.Message;
result = e.Message; result = e.Message;
return false; return false;
@ -746,7 +746,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentPropertiesUpdate exception {0}", e.Message); ": AgentPropertiesUpdate exception {0}", e.Message);
return false; return false;
@ -788,7 +788,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -868,7 +868,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return data; return data;
@ -922,7 +922,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Get preferences exception {0}", e.Message); ": Get preferences exception {0}", e.Message);
result = e.Message; result = e.Message;
} }
@ -958,7 +958,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -1021,7 +1021,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst application data exception {0}", e.Message); ": Requst application data exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -1061,7 +1061,7 @@ namespace OpenSim.Data.PGSQL
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": SetUserData exception {0}", e.Message); ": SetUserData exception {0}", e.Message);
return false; return false;
} }

View File

@ -114,7 +114,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UserAccount exception {0}", e.Message); ": UserAccount exception {0}", e.Message);
} }
n.Add("classifieduuid", OSD.FromUUID(Id)); n.Add("classifieduuid", OSD.FromUUID(Id));
@ -217,7 +217,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": ClassifiedesUpdate exception {0}", e.Message); ": ClassifiedesUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -243,7 +243,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteClassifiedRecord exception {0}", e.Message); ": DeleteClassifiedRecord exception {0}", e.Message);
return false; return false;
} }
@ -289,7 +289,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message); ": GetPickInfo exception {0}", e.Message);
} }
return true; return true;
@ -326,7 +326,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarPicks exception {0}", e.Message); ": GetAvatarPicks exception {0}", e.Message);
} }
return data; return data;
@ -378,7 +378,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetPickInfo exception {0}", e.Message); ": GetPickInfo exception {0}", e.Message);
} }
return pick; return pick;
@ -446,7 +446,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -471,7 +471,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": DeleteUserPickRecord exception {0}", e.Message); ": DeleteUserPickRecord exception {0}", e.Message);
return false; return false;
} }
@ -507,7 +507,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return true; return true;
@ -550,7 +550,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": UpdateAvatarNotes exception {0}", e.Message); ": UpdateAvatarNotes exception {0}", e.Message);
return false; return false;
} }
@ -577,7 +577,7 @@ namespace OpenSim.Data.SQLite
} }
catch(Exception e) catch(Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarProperties exception {0}", e.Message); ": GetAvatarProperties exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -696,7 +696,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentPropertiesUpdate exception {0}", e.Message); ": AgentPropertiesUpdate exception {0}", e.Message);
return false; return false;
@ -733,7 +733,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -764,7 +764,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": AgentInterestsUpdate exception {0}", e.Message); ": AgentInterestsUpdate exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -816,7 +816,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Get preferences exception {0}", e.Message); ": Get preferences exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -871,7 +871,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": Requst application data exception {0}", e.Message); ": Requst application data exception {0}", e.Message);
result = e.Message; result = e.Message;
return false; return false;
@ -904,7 +904,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": SetUserData exception {0}", e.Message); ": SetUserData exception {0}", e.Message);
return false; return false;
} }
@ -968,7 +968,7 @@ namespace OpenSim.Data.SQLite
} }
catch (Exception e) catch (Exception e)
{ {
m_log.DebugFormat("[PROFILES_DATA]" + m_log.ErrorFormat("[PROFILES_DATA]" +
": GetAvatarNotes exception {0}", e.Message); ": GetAvatarNotes exception {0}", e.Message);
} }
return data; return data;