mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#19683: Hiding log for expected exceptions during setup
Work Item: 19683 --HG-- branch : 1.x
This commit is contained in:
@@ -13,6 +13,13 @@
|
||||
<appender-ref ref="debug-file" />
|
||||
</root>
|
||||
|
||||
<!-- example of turning on the output from a component or namespace-->
|
||||
<!--
|
||||
<logger name="Orchard.Data.SessionLocator">
|
||||
<priority value="INFO" />
|
||||
</logger>
|
||||
-->
|
||||
|
||||
<logger name="Orchard">
|
||||
<!-- messages coming from orchard are provided to the attached debugger -->
|
||||
<appender-ref ref="debugger"/>
|
||||
@@ -33,13 +40,21 @@
|
||||
<priority value="ERROR" />
|
||||
</logger>
|
||||
|
||||
<!-- example of turning on the output from a component or namespace-->
|
||||
<!--
|
||||
<logger name="Orchard.Data.SessionLocator">
|
||||
<priority value="INFO" />
|
||||
</logger>
|
||||
-->
|
||||
<logger name="NHibernate.AdoNet.AbstractBatcher">
|
||||
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected -->
|
||||
<priority value="OFF" />
|
||||
</logger>
|
||||
|
||||
<logger name="NHibernate.AdoNet.AbstractBatcher">
|
||||
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected -->
|
||||
<priority value="OFF" />
|
||||
</logger>
|
||||
|
||||
<logger name="NHibernate.Util.ADOExceptionReporter">
|
||||
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected -->
|
||||
<priority value="OFF" />
|
||||
</logger>
|
||||
|
||||
<appender name="debugger" type="log4net.Appender.DebugAppender">
|
||||
<!-- debugger: visual studio, if attached -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user