Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (32 sloc) 1.287 kb
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.netfx35.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target
xsi:type="AsyncWrapper"
name="AsyncLog">
<target xsi:type="SplitGroup">
<!-- create log files with a max size of 256 MB -->
<target name="File" xsi:type="File"
archiveAboveSize="268435456"
fileName="${basedir}\Logs\${shortdate}.log">
<layout xsi:type="CsvLayout">
<column name="time" layout="${longdate}" />
<column name="logger" layout="${logger}" />
<column name="level" layout="${level}" />
<column name="database" layout="${mdc:item=database}" />
<column name="message" layout="${message}" />
<column name="exception" layout="${exception:format=tostring}" />
</layout>
</target>
</target>
</target>
<target xsi:type="ColoredConsole"
name="Colored-Console"
useDefaultRowHighlightingRules="true"
layout="${message} ${exception}" />
</targets>
<rules>
<logger name="Raven.Database.Server.WebApi.RequestManager" writeTo="Colored-Console" />
<logger name="Raven.Database.Indexing.IndexStorage.Startup" level="Warn" writeTo="Colored-Console" />
<logger name="Raven.*" writeTo="AsyncLog" />
</rules>
</nlog>
Jump to Line
Something went wrong with that request. Please try again.