Bug 831857 - Use RotatingFileAppender for Marionette's log, r=gwagner

This commit is contained in:
Jonathan Griffin 2013-01-17 11:43:57 -08:00
parent 8e744c0daa
commit 2e7f5d0e84

View File

@ -28,7 +28,7 @@ function MarionetteComponent() {
let logf = FileUtils.getFile('ProfD', ['marionette.log']);
let formatter = new Log4Moz.BasicFormatter();
this.logger.addAppender(new Log4Moz.FileAppender(logf, formatter));
this.logger.addAppender(new Log4Moz.RotatingFileAppender(logf, formatter));
this.logger.addAppender(new Log4Moz.DumpAppender(formatter));
this.logger.info("MarionetteComponent loaded");
}