aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteLegacy
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-04-30 22:22:03 +0100
committerJustin Clark-Casey (justincc)2010-04-30 22:22:03 +0100
commitf3662e3d15073aa7da22c3faf34afd6cb0e19dc9 (patch)
tree8a9c0b02de26418ebdfa8b467cf0c9027f1e01ba /OpenSim/Data/SQLiteLegacy
parenttake out some debug logging in the sqlite db adaptor (diff)
downloadopensim-SC_OLD-f3662e3d15073aa7da22c3faf34afd6cb0e19dc9.zip
opensim-SC_OLD-f3662e3d15073aa7da22c3faf34afd6cb0e19dc9.tar.gz
opensim-SC_OLD-f3662e3d15073aa7da22c3faf34afd6cb0e19dc9.tar.bz2
opensim-SC_OLD-f3662e3d15073aa7da22c3faf34afd6cb0e19dc9.tar.xz
minor: eliminate more debug Console.WriteLines, convert one to logging instead
Diffstat (limited to 'OpenSim/Data/SQLiteLegacy')
-rw-r--r--OpenSim/Data/SQLiteLegacy/SQLiteAuthenticationData.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLiteLegacy/SQLiteAuthenticationData.cs b/OpenSim/Data/SQLiteLegacy/SQLiteAuthenticationData.cs
index c64830a..760221d 100644
--- a/OpenSim/Data/SQLiteLegacy/SQLiteAuthenticationData.cs
+++ b/OpenSim/Data/SQLiteLegacy/SQLiteAuthenticationData.cs
@@ -29,6 +29,8 @@ using System;
29using System.Collections; 29using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Data; 31using System.Data;
32using System.Reflection;
33using log4net;
32using OpenMetaverse; 34using OpenMetaverse;
33using OpenSim.Framework; 35using OpenSim.Framework;
34using Mono.Data.SqliteClient; 36using Mono.Data.SqliteClient;
@@ -37,6 +39,8 @@ namespace OpenSim.Data.SQLiteLegacy
37{ 39{
38 public class SQLiteAuthenticationData : SQLiteFramework, IAuthenticationData 40 public class SQLiteAuthenticationData : SQLiteFramework, IAuthenticationData
39 { 41 {
42 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
43
40 private string m_Realm; 44 private string m_Realm;
41 private List<string> m_ColumnNames; 45 private List<string> m_ColumnNames;
42 private int m_LastExpire; 46 private int m_LastExpire;
@@ -162,7 +166,7 @@ namespace OpenSim.Data.SQLiteLegacy
162 } 166 }
163 catch (Exception e) 167 catch (Exception e)
164 { 168 {
165 Console.WriteLine(e.ToString()); 169 m_log.Error("[SQLITE]: Exception storing authentication data", e);
166 CloseCommand(cmd); 170 CloseCommand(cmd);
167 return false; 171 return false;
168 } 172 }