aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
index 7d228e6..28eec3e 100644
--- a/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
+++ b/OpenSim/Framework/Data.MSSQL/MSSQLGridData.cs
@@ -40,6 +40,8 @@ namespace OpenSim.Framework.Data.MSSQL
40 /// </summary> 40 /// </summary>
41 public class SqlGridData : IGridData 41 public class SqlGridData : IGridData
42 { 42 {
43 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
44
43 /// <summary> 45 /// <summary>
44 /// Database manager 46 /// Database manager
45 /// </summary> 47 /// </summary>
@@ -172,7 +174,7 @@ namespace OpenSim.Framework.Data.MSSQL
172 catch (Exception e) 174 catch (Exception e)
173 { 175 {
174 database.Reconnect(); 176 database.Reconnect();
175 MainLog.Instance.Error(e.ToString()); 177 m_log.Error(e.ToString());
176 return returnlist; 178 return returnlist;
177 } 179 }
178 } 180 }
@@ -208,7 +210,7 @@ namespace OpenSim.Framework.Data.MSSQL
208 catch (Exception e) 210 catch (Exception e)
209 { 211 {
210 database.Reconnect(); 212 database.Reconnect();
211 MainLog.Instance.Error(e.ToString()); 213 m_log.Error(e.ToString());
212 return returnlist; 214 return returnlist;
213 } 215 }
214 } 216 }