SPRNET-1083 - Change logging level when overriding NHibernate ConnectionProvider in LocalSessionFactoryObject with Spring's IDbProvider to INFO from WARN
This commit is contained in:
@@ -241,9 +241,9 @@ namespace Spring.Data.NHibernate
|
||||
hibernateProperties.Contains(Environment.ConnectionProvider))
|
||||
{
|
||||
#region Logging
|
||||
if (log.IsWarnEnabled)
|
||||
if (log.IsInfoEnabled)
|
||||
{
|
||||
log.Warn("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
log.Info("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
hibernateProperties[Environment.ConnectionProvider] + "]");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -304,9 +304,9 @@ namespace Spring.Data.NHibernate
|
||||
hibernateProperties.Contains(Environment.ConnectionProvider))
|
||||
{
|
||||
#region Logging
|
||||
if (log.IsWarnEnabled)
|
||||
if (log.IsInfoEnabled)
|
||||
{
|
||||
log.Warn("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
log.Info("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
hibernateProperties[Environment.ConnectionProvider] + "]");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -376,9 +376,9 @@ namespace Spring.Data.NHibernate
|
||||
hibernateProperties.Contains(Environment.ConnectionProvider))
|
||||
{
|
||||
#region Logging
|
||||
if (log.IsWarnEnabled)
|
||||
if (log.IsInfoEnabled)
|
||||
{
|
||||
log.Warn("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
log.Info(("Overriding use of Spring's Hibernate Connection Provider with [" +
|
||||
hibernateProperties[Environment.ConnectionProvider] + "]");
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user