Move logging to other directory

This commit is contained in:
2016-01-21 18:55:27 -05:00
parent 451c78b45d
commit fc66d73b4f
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" >
<targets>
<target name="debugLogger" xsi:type="File" fileName="${basedir}/Logs/MileageTraker.Debug.${shortdate}.txt" />
<target name="exceptionLogger" xsi:type="File" fileName="${basedir}/Logs/MileageTraker.Error.${shortdate}.txt" />
<target name="debugLogger" xsi:type="File" fileName="${basedir}/../logs/MileageTraker.Debug.${shortdate}.txt" />
<target name="exceptionLogger" xsi:type="File" fileName="${basedir}/../logs/MileageTraker.Error.${shortdate}.txt" />
</targets>
<rules>
+1 -3
View File
@@ -27,6 +27,7 @@
<IISExpressUseClassicPipelineMode />
<AfterAddIisSettingAndFileContentsToSourceManifest>AddSkipRules</AfterAddIisSettingAndFileContentsToSourceManifest>
<TargetFrameworkProfile />
<UseGlobalApplicationHostFile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -343,9 +344,6 @@
<Content Include="fonts\fontawesome-webfont.ttf" />
<Content Include="fonts\fontawesome-webfont.eot" />
<Content Include="fonts\FontAwesome.otf" />
<Content Include="Logs\empty.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>