mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 02:44:52 +08:00
Updating logger to split into levels depending on namespace, to autoflush and also to update log levels on build for azure or CI.
--HG-- branch : dev
This commit is contained in:
14
Orchard.proj
14
Orchard.proj
@@ -219,13 +219,17 @@
|
||||
XPath="/configuration/system.web/machineKey/@decryptionKey"
|
||||
Value="AutoGenerate" />
|
||||
|
||||
<!--<XmlUpdate XmlFileName="$(StageFolder)\Config\Diagnostics.config"
|
||||
XPath="/system.diagnostics/trace/@autoflush"
|
||||
<XmlUpdate XmlFileName="$(StageFolder)\Config\log4net.config"
|
||||
XPath="/log4net/appender/immediateFlush/@value"
|
||||
Value="false" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(StageFolder)\Config\Diagnostics.config"
|
||||
XPath="/system.diagnostics/sources/source/@switchValue"
|
||||
Value="Error" />-->
|
||||
<XmlUpdate XmlFileName="$(StageFolder)\Config\log4net.config"
|
||||
XPath="/log4net/logger/priority/@value"
|
||||
Value="ERROR" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(StageFolder)\Config\log4net.config"
|
||||
XPath="/log4net/root/priority/@value"
|
||||
Value="ERROR" />
|
||||
|
||||
<!-- move over extra non-content files the csproj referenced -->
|
||||
<Copy SourceFiles="@(StageProjectAlteration-ExtraFiles->'$(SrcFolder)\Orchard.Web\%(Identity)')"
|
||||
|
Reference in New Issue
Block a user