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:
Andre Rodrigues
2010-12-07 15:24:43 -08:00
parent bf1c0e2589
commit 95841b5fbc
9 changed files with 35 additions and 30 deletions

View File

@@ -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)')"