mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 831857 - Use RotatingFileAppender for Marionette's log, r=gwagner
This commit is contained in:
parent
8e744c0daa
commit
2e7f5d0e84
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user