reduce log messages from nhibernate

0.6.0-stable
Sean Dague 2008-05-06 19:07:14 +00:00
parent d8e02d9e5c
commit ffe6b71f61
3 changed files with 20 additions and 0 deletions

View File

@ -19,6 +19,13 @@
</layout> </layout>
</appender> </appender>
<!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
<logger name="NHibernate" additivity="false">
<level value="INFO"/>
<appender-ref ref="NHibernateFileLog"/>
</logger>
<root> <root>
<level value="DEBUG" /> <level value="DEBUG" />
<appender-ref ref="Console" /> <appender-ref ref="Console" />

View File

@ -19,6 +19,13 @@
</layout> </layout>
</appender> </appender>
<!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
<logger name="NHibernate" additivity="false">
<level value="INFO"/>
<appender-ref ref="NHibernateFileLog"/>
</logger>
<root> <root>
<level value="DEBUG" /> <level value="DEBUG" />
<appender-ref ref="Console" /> <appender-ref ref="Console" />

View File

@ -18,6 +18,12 @@
<conversionPattern value="%date %-5level - %logger %message%newline" /> <conversionPattern value="%date %-5level - %logger %message%newline" />
</layout> </layout>
</appender> </appender>
<!-- if you'd like to know what NHibernate is doing more set value="DEBUG" -->
<logger name="NHibernate" additivity="false">
<level value="INFO"/>
<appender-ref ref="NHibernateFileLog"/>
</logger>
<root> <root>
<level value="DEBUG" /> <level value="DEBUG" />