diff --git a/ReactNativeClient/lib/file-api-driver-local.js b/ReactNativeClient/lib/file-api-driver-local.js index 754415ccf2..edc5ee4fd7 100644 --- a/ReactNativeClient/lib/file-api-driver-local.js +++ b/ReactNativeClient/lib/file-api-driver-local.js @@ -143,7 +143,6 @@ class FileApiDriverLocal { } async mkdir(path) { - console.info('EXISTST ' + path, await this.fsDriver().exists(path)); if (await this.fsDriver().exists(path)) return; try { diff --git a/ReactNativeClient/lib/fs-driver-rn.js b/ReactNativeClient/lib/fs-driver-rn.js index 2b52293453..142d1f7aa8 100644 --- a/ReactNativeClient/lib/fs-driver-rn.js +++ b/ReactNativeClient/lib/fs-driver-rn.js @@ -34,19 +34,9 @@ class FsDriverRN { let output = []; for (let i = 0; i < items.length; i++) { const item = items[i]; - console.info('ITEM', item); const relativePath = item.path.substr(path.length + 1); output.push(this.rnfsStatToStd_(item, relativePath)); - - // let stat = await this.stat(path + '/' + items[i]); - // if (!stat) continue; // Has been deleted between the readdir() call and now - // stat.path = stat.path.substr(path.length + 1); - // output.push(stat); } - - console.info('READ DIR', path); - console.info(output); - return output; } diff --git a/ReactNativeClient/lib/models/Setting.js b/ReactNativeClient/lib/models/Setting.js index bdaf82a6f8..ff57cb96a4 100644 --- a/ReactNativeClient/lib/models/Setting.js +++ b/ReactNativeClient/lib/models/Setting.js @@ -192,7 +192,8 @@ class Setting extends BaseModel { if (c.value === value) return; - this.logger().info('Setting: ' + key + ' = ' + c.value + ' => ' + value); + // Don't log this to prevent sensitive info (passwords, auth tokens...) to end up in logs + // this.logger().info('Setting: ' + key + ' = ' + c.value + ' => ' + value); c.value = value; diff --git a/ReactNativeClient/lib/synchronizer.js b/ReactNativeClient/lib/synchronizer.js index 55574dde40..24fc0a67a4 100644 --- a/ReactNativeClient/lib/synchronizer.js +++ b/ReactNativeClient/lib/synchronizer.js @@ -92,14 +92,12 @@ class Synchronizer { if (local) { let s = []; s.push(local.id); - if ('title' in local) s.push('"' + local.title + '"'); line.push('(Local ' + s.join(', ') + ')'); } if (remote) { let s = []; s.push(remote.id ? remote.id : remote.path); - if ('title' in remote) s.push('"' + remote.title + '"'); line.push('(Remote ' + s.join(', ') + ')'); }