1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

All: Disable log statement when saving settings

This commit is contained in:
Laurent Cozic
2021-01-21 09:57:53 +00:00
parent ff0c1b62b3
commit 9b24c2f4a9

View File

@@ -1387,7 +1387,7 @@ class Setting extends BaseModel {
static async saveAll() {
if (Setting.autoSaveEnabled && !this.saveTimeoutId_) return Promise.resolve();
this.logger().info('Saving settings...');
this.logger().debug('Saving settings...');
shim.clearTimeout(this.saveTimeoutId_);
this.saveTimeoutId_ = null;
@@ -1434,7 +1434,7 @@ class Setting extends BaseModel {
await BaseModel.db().transactionExecBatch(queries);
this.logger().info('Settings have been saved.');
this.logger().debug('Settings have been saved.');
}
static scheduleChangeEvent() {