mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-20 10:45:29 +08:00
Untabifying config files with mixed tabs-spaces
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
||||||
<HostComponents xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
<HostComponents xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
||||||
<Components>
|
<Components>
|
||||||
<!-- Disable all file monitoring but not modules/themes discovery -->
|
<!-- Disable all file monitoring but not modules/themes discovery -->
|
||||||
<Component xdt:Locator="Condition(@Type != 'Orchard.Environment.Extensions.Folders.ExtensionHarvester')">
|
<Component xdt:Locator="Condition(@Type != 'Orchard.Environment.Extensions.Folders.ExtensionHarvester')">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property Name="DisableMonitoring" Value="true" xdt:Locator="Match(Name)" xdt:Transform="SetAttributes(Value)" />
|
<Property Name="DisableMonitoring" Value="true" xdt:Locator="Match(Name)" xdt:Transform="SetAttributes(Value)" />
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
</Components>
|
</Components>
|
||||||
</HostComponents>
|
</HostComponents>
|
@@ -1,88 +1,88 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<log4net>
|
<log4net>
|
||||||
|
|
||||||
<!-- If you are looking here and want more output, first thing to do is change root/priority/@value to "INFO" or "ALL". -->
|
<!-- If you are looking here and want more output, first thing to do is change root/priority/@value to "INFO" or "ALL". -->
|
||||||
|
|
||||||
<root>
|
<root>
|
||||||
<!-- Value of priority may be ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF. -->
|
<!-- Value of priority may be ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF. -->
|
||||||
<priority value="WARN" />
|
<priority value="WARN" />
|
||||||
<appender-ref ref="error-file" />
|
<appender-ref ref="error-file" />
|
||||||
<appender-ref ref="debug-file" />
|
<appender-ref ref="debug-file" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
<!-- Example of turning on the output from a component or namespace. -->
|
<!-- Example of turning on the output from a component or namespace. -->
|
||||||
<!--
|
<!--
|
||||||
<logger name="Orchard.Data.SessionLocator">
|
<logger name="Orchard.Data.SessionLocator">
|
||||||
<priority value="INFO" />
|
<priority value="INFO" />
|
||||||
</logger>
|
</logger>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<logger name="Orchard">
|
<logger name="Orchard">
|
||||||
<!-- Messages coming from Orchard are sent to the attached debugger. -->
|
<!-- Messages coming from Orchard are sent to the attached debugger. -->
|
||||||
<appender-ref ref="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 trace in the attached debugger as well. -->
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
<logger name="Orchard.Localization">
|
<logger name="Orchard.Localization">
|
||||||
<!-- This source is very verbose - setting priority here to avoid flooding trace if root priority is lowered. -->
|
<!-- This source is very verbose - setting priority here to avoid flooding trace if root priority is lowered. -->
|
||||||
<priority value="WARN" />
|
<priority value="WARN" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
<logger name="NHibernate.Cache">
|
<logger name="NHibernate.Cache">
|
||||||
<!-- This source is very verbose - setting priority here to avoid flooding trace if root priority is lowered. -->
|
<!-- This source is very verbose - setting priority here to avoid flooding trace if root priority is lowered. -->
|
||||||
<priority value="ERROR" />
|
<priority value="ERROR" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
<logger name="NHibernate.AdoNet.AbstractBatcher">
|
<logger name="NHibernate.AdoNet.AbstractBatcher">
|
||||||
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
|
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
|
||||||
<priority value="OFF" />
|
<priority value="OFF" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
<logger name="NHibernate.Util.ADOExceptionReporter">
|
<logger name="NHibernate.Util.ADOExceptionReporter">
|
||||||
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
|
<!-- Displays failed table statements that are otherwise intercepted and rendered when unexpected. -->
|
||||||
<priority value="OFF" />
|
<priority value="OFF" />
|
||||||
</logger>
|
</logger>
|
||||||
|
|
||||||
<appender name="debugger" type="log4net.Appender.DebugAppender">
|
<appender name="debugger" type="log4net.Appender.DebugAppender">
|
||||||
<!-- Sends log messages to Visual Studio if attached. -->
|
<!-- Sends log messages to Visual Studio if attached. -->
|
||||||
<immediateFlush value="true" />
|
<immediateFlush value="true" />
|
||||||
<layout type="log4net.Layout.SimpleLayout" />
|
<layout type="log4net.Layout.SimpleLayout" />
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<appender name="debug-file" type="Orchard.Logging.OrchardFileAppender">
|
<appender name="debug-file" type="Orchard.Logging.OrchardFileAppender">
|
||||||
<!-- Sends log messages to a file in App_Data. -->
|
<!-- Sends log messages to a file in App_Data. -->
|
||||||
<file value="App_Data/Logs/orchard-debug" />
|
<file value="App_Data/Logs/orchard-debug" />
|
||||||
<appendToFile value="true" />
|
<appendToFile value="true" />
|
||||||
<!-- Immediate flush on error log, to avoid data loss with sudden termination. -->
|
<!-- Immediate flush on error log, to avoid data loss with sudden termination. -->
|
||||||
<immediateFlush value="true" />
|
<immediateFlush value="true" />
|
||||||
<staticLogFileName value="false" />
|
<staticLogFileName value="false" />
|
||||||
<rollingStyle value="Date" />
|
<rollingStyle value="Date" />
|
||||||
<datepattern value="-yyyy.MM.dd'.log'" />
|
<datepattern value="-yyyy.MM.dd'.log'" />
|
||||||
<!-- Prevents Orchard.exe from displaying locking debug messages. -->
|
<!-- Prevents Orchard.exe from displaying locking debug messages. -->
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
<conversionPattern value="%date [%thread] %logger - %P{Tenant} - %message%newline" />
|
<conversionPattern value="%date [%thread] %logger - %P{Tenant} - %message%newline" />
|
||||||
</layout>
|
</layout>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<appender name="error-file" type="Orchard.Logging.OrchardFileAppender">
|
<appender name="error-file" type="Orchard.Logging.OrchardFileAppender">
|
||||||
<!-- Sends ERROR and FATAL log messages to a file in App_Data. -->
|
<!-- Sends ERROR and FATAL log messages to a file in App_Data. -->
|
||||||
<file value="App_Data/Logs/orchard-error" />
|
<file value="App_Data/Logs/orchard-error" />
|
||||||
<appendToFile value="true" />
|
<appendToFile value="true" />
|
||||||
<!-- Immediate flush on error log, to avoid data loss with sudden termination. -->
|
<!-- Immediate flush on error log, to avoid data loss with sudden termination. -->
|
||||||
<immediateFlush value="true" />
|
<immediateFlush value="true" />
|
||||||
<staticLogFileName value="false" />
|
<staticLogFileName value="false" />
|
||||||
<rollingStyle value="Date" />
|
<rollingStyle value="Date" />
|
||||||
<datepattern value="-yyyy.MM.dd'.log'" />
|
<datepattern value="-yyyy.MM.dd'.log'" />
|
||||||
<!-- Prevents Orchard.exe from displaying locking debug messages. -->
|
<!-- Prevents Orchard.exe from displaying locking debug messages. -->
|
||||||
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
|
||||||
<filter type="log4net.Filter.LevelRangeFilter">
|
<filter type="log4net.Filter.LevelRangeFilter">
|
||||||
<!-- Only ERROR and FATAL log messages end up in this target, even if child loggers accept lower priority. -->
|
<!-- Only ERROR and FATAL log messages end up in this target, even if child loggers accept lower priority. -->
|
||||||
<levelMin value="ERROR" />
|
<levelMin value="ERROR" />
|
||||||
</filter>
|
</filter>
|
||||||
<layout type="log4net.Layout.PatternLayout">
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
<conversionPattern value="%date [%thread] %logger - %P{Tenant} - %message%newline %P{Url}%newline" />
|
<conversionPattern value="%date [%thread] %logger - %P{Tenant} - %message%newline %P{Url}%newline" />
|
||||||
</layout>
|
</layout>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
</log4net>
|
</log4net>
|
||||||
|
Reference in New Issue
Block a user