mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed the Log4net config release transformation.
This commit is contained in:
@@ -1,21 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||
<log4net xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||
<root>
|
||||
<priority value="ERROR" xdt:Transform="SetAttributes(value)" />
|
||||
<appender-ref ref="debug-file" xdt:Locator="Match(ref)" xdt:Transform="Remove" />
|
||||
</root>
|
||||
<logger name="Orchard" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<logger name="Orchard.Localization" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<logger>
|
||||
<priority value="ERROR" xdt:Transform="SetAttributes(value)" />
|
||||
</logger>
|
||||
<appender>
|
||||
<immediateFlush value="false" xdt:Transform="SetAttributes(value)" />
|
||||
</appender>
|
||||
<appender name="debugger" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<appender name="debug-file" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<appender name="error-file" xdt:Locator="Match(name)">
|
||||
<filter xdt:Transform="Remove" />
|
||||
</appender>
|
||||
<logger name="Orchard" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<appender name="debugger" xdt:Locator="Match(name)" xdt:Transform="Remove" />
|
||||
<appender>
|
||||
<immediateFlush value="false" xdt:Transform="SetAttributes(value)" />
|
||||
</appender>
|
||||
</log4net>
|
||||
@@ -26,7 +26,7 @@
|
||||
<logger name="Orchard">
|
||||
<!-- Messages coming from Orchard are sent to the attached debugger. -->
|
||||
<appender-ref ref="debugger"/>
|
||||
<!-- Note: if you put a ref=debugger into <root> element above and widen the priority to ALL or DEBUG, then you will see nhibernate trace in the attached debugger as well. -->
|
||||
<!-- Note: If you put a ref=debugger into <root> element above and widen the priority to ALL or DEBUG, then you will see nHibernate tracing in the attached debugger as well. -->
|
||||
</logger>
|
||||
|
||||
<logger name="Orchard.Localization">
|
||||
|
||||
Reference in New Issue
Block a user