comparison Stocks/Stocks.Service/NLog.config @ 23:399398841fd0

Working version for Stocks (including loosely coupled components
author adminsh@apollo
date Tue, 20 Mar 2012 16:53:29 +0000
parents e5d46bb6cdb0
children
comparison
equal deleted inserted replaced
22:a7a4cde39999 23:399398841fd0
1 <?xml version="1.0" encoding="utf-8" ?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4 2
5 <!-- 3 <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
5 <!--
6 See http://nlog-project.org/wiki/Configuration_file 6 See http://nlog-project.org/wiki/Configuration_file
7 for information on customizing logging rules and outputs. 7 for information on customizing logging rules and outputs.
8 --> 8 -->
9 <targets> 9 <targets>
10 <target xsi:type="File" name="textFile" fileName="${basedir}/logs/${shortdate}.log" 10 <target xsi:type="File" name="textFile" fileName="${basedir}/logs/${shortdate}.log"
11 layout="${longdate} ${uppercase:${level}} ${message}" /> 11 layout="${longdate} ${uppercase:${level}} ${message}" />
12 </targets> 12 </targets>
13 13
14 <rules> 14 <rules>
15 <logger name="*" minlevel="Trace" writeTo="textFile" /> 15 <logger name="*" minlevel="Trace" writeTo="textFile" />
16 </rules> 16 </rules>
17 </nlog> 17 </nlog>