You've already forked joplin
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:
@@ -1387,7 +1387,7 @@ class Setting extends BaseModel {
|
|||||||
static async saveAll() {
|
static async saveAll() {
|
||||||
if (Setting.autoSaveEnabled && !this.saveTimeoutId_) return Promise.resolve();
|
if (Setting.autoSaveEnabled && !this.saveTimeoutId_) return Promise.resolve();
|
||||||
|
|
||||||
this.logger().info('Saving settings...');
|
this.logger().debug('Saving settings...');
|
||||||
shim.clearTimeout(this.saveTimeoutId_);
|
shim.clearTimeout(this.saveTimeoutId_);
|
||||||
this.saveTimeoutId_ = null;
|
this.saveTimeoutId_ = null;
|
||||||
|
|
||||||
@@ -1434,7 +1434,7 @@ class Setting extends BaseModel {
|
|||||||
|
|
||||||
await BaseModel.db().transactionExecBatch(queries);
|
await BaseModel.db().transactionExecBatch(queries);
|
||||||
|
|
||||||
this.logger().info('Settings have been saved.');
|
this.logger().debug('Settings have been saved.');
|
||||||
}
|
}
|
||||||
|
|
||||||
static scheduleChangeEvent() {
|
static scheduleChangeEvent() {
|
||||||
|
|||||||
Reference in New Issue
Block a user