Skip to content

Commit

Permalink
Adding file size limit for the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ayende committed Apr 2, 2012
1 parent d28b6d7 commit fd20917
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Raven.Server/DefaultLogging.config
Expand Up @@ -6,7 +6,9 @@


<target xsi:type="SplitGroup"> <target xsi:type="SplitGroup">
<target xsi:type="HttpEndpoint" /> <target xsi:type="HttpEndpoint" />
<target name="File" xsi:type="File" <!-- create log files with a max size of 256 MB -->
<target name="File" xsi:type="File"
archiveAboveSize="268435456"
fileName="${basedir}\Logs\${shortdate}.log"> fileName="${basedir}\Logs\${shortdate}.log">
<layout xsi:type="CsvLayout"> <layout xsi:type="CsvLayout">
<column name="time" layout="${longdate}" /> <column name="time" layout="${longdate}" />
Expand Down

0 comments on commit fd20917

Please sign in to comment.