minor: stop the WebStatsModule logging UPDATE or INSERT every time it updates bin/LocalUserStatistics.db

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2012-01-25 20:36:51 +00:00
parent cd666a3d2c
commit 7dd0b7ea2f
1 changed files with 3 additions and 3 deletions

View File

@ -461,7 +461,7 @@ namespace OpenSim.Region.UserStatistics
public string ViewerStatsReport(string request, string path, string param,
UUID agentID, Caps caps)
{
//m_log.Debug(request);
// m_log.DebugFormat("[WEB STATS MODULE]: Received viewer starts report from {0}", agentID);
UpdateUserStats(ParseViewerStats(request,agentID), dbConn);
@ -676,13 +676,13 @@ namespace OpenSim.Region.UserStatistics
updatecmd.Parameters.Add(new SqliteParameter(":session_key", uid.session_data.session_id.ToString()));
updatecmd.Parameters.Add(new SqliteParameter(":agent_key", uid.session_data.agent_id.ToString()));
updatecmd.Parameters.Add(new SqliteParameter(":region_key", uid.session_data.region_id.ToString()));
m_log.Debug("UPDATE");
// m_log.Debug("UPDATE");
int result = updatecmd.ExecuteNonQuery();
if (result == 0)
{
m_log.Debug("INSERT");
// m_log.Debug("INSERT");
updatecmd.CommandText = SQL_STATS_TABLE_INSERT;
try
{