Mercurial > silverbladetech
annotate Stocks/Stocks.Service/NLog.config @ 72:177a9d1eba10
Latest version
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Mon, 23 Apr 2012 17:57:21 +0100 |
parents | 399398841fd0 |
children |
rev | line source |
---|---|
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
0 | 2 |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
3 <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
4 |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
5 <!-- |
0 | 6 See http://nlog-project.org/wiki/Configuration_file |
7 for information on customizing logging rules and outputs. | |
8 --> | |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
9 <targets> |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
10 <target xsi:type="File" name="textFile" fileName="${basedir}/logs/${shortdate}.log" |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
11 layout="${longdate} ${uppercase:${level}} ${message}" /> |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
12 </targets> |
0 | 13 |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
14 <rules> |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
15 <logger name="*" minlevel="Trace" writeTo="textFile" /> |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
0
diff
changeset
|
16 </rules> |
0 | 17 </nlog> |