Skip to content

Commit

Permalink
Merge branch 'pr860' into stable
Browse files Browse the repository at this point in the history
* pr860:
  (GH-845)  Keep the ".log" extension for serialized logs
  • Loading branch information
ferventcoder committed Jul 24, 2016
2 parents 16ec90a + d0aac0b commit 19957f8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private static void set_file_appender(string outputDirectory)
MaxFileSize = 1024 * 1024 * 10,
MaxSizeRollBackups = 50,
LockingModel = new FileAppender.MinimalLock(),
PreserveLogFileNameExtension = true,
};
app.ActivateOptions();

Expand All @@ -101,7 +102,7 @@ private static void set_file_appender(string outputDirectory)
MaxFileSize = 1024 * 1024 * 10,
MaxSizeRollBackups = 50,
LockingModel = new FileAppender.MinimalLock(),

PreserveLogFileNameExtension = true,
};
infoOnlyAppender.AddFilter(new LevelRangeFilter { LevelMin = Level.Info, LevelMax = Level.Fatal });
infoOnlyAppender.ActivateOptions();
Expand Down

0 comments on commit 19957f8

Please sign in to comment.