diff --git a/services/sync/locales/en-US/log.dtd b/services/sync/locales/en-US/log.dtd deleted file mode 100644 index 9b980e94d523..000000000000 --- a/services/sync/locales/en-US/log.dtd +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/services/sync/locales/en-US/log.properties b/services/sync/locales/en-US/log.properties deleted file mode 100644 index de6b5673aa5a..000000000000 --- a/services/sync/locales/en-US/log.properties +++ /dev/null @@ -1,2 +0,0 @@ -noLogAvailable.alert = No log available -filePicker.title = Choose Destination File diff --git a/services/sync/modules/service.js b/services/sync/modules/service.js index d20d36d7af59..8f9d302fe6d1 100644 --- a/services/sync/modules/service.js +++ b/services/sync/modules/service.js @@ -335,7 +335,8 @@ WeaveSvc.prototype = { if (!verbose.exists()) verbose.create(verbose.NORMAL_FILE_TYPE, PERMS_FILE); - this._debugApp = new Log4Moz.RotatingFileAppender(verbose, formatter); + let maxSize = 65536; // 64 * 1024 (64KB) + this._debugApp = new Log4Moz.RotatingFileAppender(verbose, formatter, maxSize); this._debugApp.level = Log4Moz.Level[Svc.Prefs.get("log.appender.debugLog")]; root.addAppender(this._debugApp); }, diff --git a/services/sync/modules/util.js b/services/sync/modules/util.js index 643930010a21..10d1c1e2fa1b 100644 --- a/services/sync/modules/util.js +++ b/services/sync/modules/util.js @@ -724,10 +724,6 @@ let Utils = { this.openDialog("ChangeSomething", "generic-change.xul"); }, - openLog: function Utils_openLog() { - Utils._openChromeWindow("Log", "log.xul"); - }, - getErrorString: function Utils_getErrorString(error, args) { try { return Str.errors.get(error, args || null);