Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding file size limit for the logs

  • Loading branch information...
commit fd20917a6149c5f04a4844ec84146e2775fd7a3d 1 parent d28b6d7
@ayende ayende authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Raven.Server/DefaultLogging.config
View
4 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}" />
Please sign in to comment.
Something went wrong with that request. Please try again.