aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2007-12-24 05:24:53 +0000
committerJustin Clarke Casey2007-12-24 05:24:53 +0000
commit57b2bc21a9b8e09bf8e2a89f421bc1352b9da203 (patch)
treeea3e1f92c3dc38b505e27006bbff896620e981ec /OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
parentThank you kindly, CharlieO for this update to the GUI tool for: (diff)
downloadopensim-SC_OLD-57b2bc21a9b8e09bf8e2a89f421bc1352b9da203.zip
opensim-SC_OLD-57b2bc21a9b8e09bf8e2a89f421bc1352b9da203.tar.gz
opensim-SC_OLD-57b2bc21a9b8e09bf8e2a89f421bc1352b9da203.tar.bz2
opensim-SC_OLD-57b2bc21a9b8e09bf8e2a89f421bc1352b9da203.tar.xz
Log message tweaking
Diffstat (limited to 'OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs b/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
index 6199911..3723343 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteAssetData.cs
@@ -67,9 +67,9 @@ namespace OpenSim.Framework.Data.SQLite
67 { 67 {
68 da.Fill(ds.Tables["assets"]); 68 da.Fill(ds.Tables["assets"]);
69 } 69 }
70 catch (Exception) 70 catch (Exception e)
71 { 71 {
72 MainLog.Instance.Verbose("AssetStorage", "Caught fill error on asset table"); 72 MainLog.Instance.Verbose("SQLITE", e.ToString());
73 } 73 }
74 } 74 }
75 75
@@ -122,7 +122,7 @@ namespace OpenSim.Framework.Data.SQLite
122 string temporary = asset.Temporary ? "Temporary" : "Stored"; 122 string temporary = asset.Temporary ? "Temporary" : "Stored";
123 string local = asset.Local ? "Local" : "Remote"; 123 string local = asset.Local ? "Local" : "Remote";
124 124
125 MainLog.Instance.Verbose("ASSETSTORAGE", 125 MainLog.Instance.Verbose("SQLITE",
126 string.Format("Loaded {6} {5} Asset: [{0}][{3}/{4}] \"{1}\":{2} ({7} bytes)", 126 string.Format("Loaded {6} {5} Asset: [{0}][{3}/{4}] \"{1}\":{2} ({7} bytes)",
127 asset.FullID, asset.Name, asset.Description, asset.Type, 127 asset.FullID, asset.Name, asset.Description, asset.Type,
128 asset.InvType, temporary, local, asset.Data.Length)); 128 asset.InvType, temporary, local, asset.Data.Length));
@@ -148,7 +148,7 @@ namespace OpenSim.Framework.Data.SQLite
148 148
149 public void CommitAssets() // force a sync to the database 149 public void CommitAssets() // force a sync to the database
150 { 150 {
151 MainLog.Instance.Verbose("AssetStorage", "Attempting commit"); 151 MainLog.Instance.Verbose("SQLITE", "Attempting commit");
152 lock (ds) 152 lock (ds)
153 { 153 {
154 da.Update(ds, "assets"); 154 da.Update(ds, "assets");
@@ -279,7 +279,7 @@ namespace OpenSim.Framework.Data.SQLite
279 } 279 }
280 catch (SqliteSyntaxException) 280 catch (SqliteSyntaxException)
281 { 281 {
282 MainLog.Instance.Verbose("DATASTORE", "SQLite Database doesn't exist... creating"); 282 MainLog.Instance.Verbose("SQLITE", "SQLite Database doesn't exist... creating");
283 InitDB(conn); 283 InitDB(conn);
284 } 284 }
285 return true; 285 return true;