Make m_log in migrations private. Define new m_log in derived class

soprefactor
Melanie 2010-05-18 23:33:05 +01:00
parent caf61ab7d8
commit d2bc673667
2 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,7 @@ namespace OpenSim.Data
public class Migration
{
protected static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
protected string _type;
protected DbConnection _conn;

View File

@ -43,6 +43,8 @@ namespace OpenSim.Data.MySQL
/// </summary>
public class MySqlMigration : Migration
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public MySqlMigration()
: base()
{