Skip to content

Commit

Permalink
(chocolateyGH-845) Keep the ".log" extension for serialized logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmlephiew committed Jul 12, 2016
1 parent 252f1a3 commit 43aa464
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,
MaxSizeRollBackups = 10,
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,
MaxSizeRollBackups = 10,
LockingModel = new FileAppender.MinimalLock(),

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

0 comments on commit 43aa464

Please sign in to comment.