Permalink
Browse files

Adding file size limit for the logs

  • Loading branch information...
1 parent d28b6d7 commit fd20917a6149c5f04a4844ec84146e2775fd7a3d @ayende ayende committed Apr 2, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 Raven.Server/DefaultLogging.config
@@ -6,7 +6,9 @@
<target xsi:type="SplitGroup">
<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">
<layout xsi:type="CsvLayout">
<column name="time" layout="${longdate}" />

0 comments on commit fd20917

Please sign in to comment.