mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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:
@@ -99,15 +99,19 @@
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\web.config"
|
||||
XPath="/configuration/system.web/compilation/@debug"
|
||||
Value="false" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\Diagnostics.config"
|
||||
XPath="/system.diagnostics/trace/@autoflush"
|
||||
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\log4net.config"
|
||||
XPath="/log4net/appender/immediateFlush/@value"
|
||||
Value="false" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\Diagnostics.config"
|
||||
XPath="/system.diagnostics/sources/source/@switchValue"
|
||||
Value="Error" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\log4net.config"
|
||||
XPath="/log4net/logger/priority/@value"
|
||||
Value="ERROR" />
|
||||
|
||||
<XmlUpdate XmlFileName="$(CloudRootFolder)\Config\log4net.config"
|
||||
XPath="/log4net/root/priority/@value"
|
||||
Value="ERROR" />
|
||||
|
||||
<Copy
|
||||
SourceFiles="$(SrcFolder)\Orchard.Azure\Orchard.Azure.CloudService\ServiceConfiguration.cscfg"
|
||||
DestinationFolder="$(StageFolder)"
|
||||
|
||||
Reference in New Issue
Block a user