From 1edee634ca511e48286a4c3f248b816ccc61c81f Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 12 Sep 2008 21:24:11 +0000 Subject: * minor: spelling mistake and message tidying on Migration messages --- OpenSim/Data/Migration.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Data/Migration.cs b/OpenSim/Data/Migration.cs index 8e4cba3..2083088 100644 --- a/OpenSim/Data/Migration.cs +++ b/OpenSim/Data/Migration.cs @@ -210,7 +210,7 @@ namespace OpenSim.Data { DbCommand cmd = _conn.CreateCommand(); cmd.CommandText = "insert into migrations(name, version) values('" + type + "', " + version + ")"; - m_log.InfoFormat("[MIGRATIONS] Creating {0} at version {1}", type, version); + m_log.InfoFormat("[MIGRATIONS]: Creating {0} at version {1}", type, version); cmd.ExecuteNonQuery(); } @@ -218,7 +218,7 @@ namespace OpenSim.Data { DbCommand cmd = _conn.CreateCommand(); cmd.CommandText = "update migrations set version=" + version + " where name='" + type + "'"; - m_log.InfoFormat("[MIGRATIONS] Updating {0} to version {1}", type, version); + m_log.InfoFormat("[MIGRATIONS]: Updating {0} to version {1}", type, version); cmd.ExecuteNonQuery(); } @@ -236,11 +236,11 @@ namespace OpenSim.Data foreach (string s in names) { - m_log.InfoFormat("[MIGRATION] - testing resoure {0}", s); + m_log.InfoFormat("[MIGRATIONS]: testing resource {0}", s); Match m = _match.Match(s); if (m.Success) { - m_log.Info("MIGRATION: Match: " + m.Groups[1].ToString()); + m_log.Info("[MIGRATIONS]: Match: " + m.Groups[1].ToString()); int version = int.Parse(m.Groups[1].ToString()); if (version > after) { using (Stream resource = _assem.GetManifestResourceStream(s)) @@ -256,7 +256,7 @@ namespace OpenSim.Data } if (migrations.Count < 1) { - m_log.InfoFormat("[MIGRATIONS] {0} up to date, no migrations to apply", _type); + m_log.InfoFormat("[MIGRATIONS]: {0} up to date, no migrations to apply", _type); } return migrations; } -- cgit v1.1