|
1 | | -'use strict'; |
2 | | - |
3 | 1 | const connectionHelper = require('./helpers/connectionHelper'); |
4 | 2 | const mysqlHelper = require('./helpers/mysqlHelper'); |
5 | 3 |
|
@@ -30,11 +28,7 @@ module.exports = { |
30 | 28 | hiddenKeys: connectionInfo.hiddenKeys, |
31 | 29 | logger, |
32 | 30 | }); |
33 | | - |
34 | 31 | try { |
35 | | - logger.clear(); |
36 | | - logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys); |
37 | | - |
38 | 32 | const sshService = app.require('@hackolade/ssh-service'); |
39 | 33 |
|
40 | 34 | const connection = await this.connect(connectionInfo, sshService); |
@@ -66,8 +60,6 @@ module.exports = { |
66 | 60 | }); |
67 | 61 |
|
68 | 62 | try { |
69 | | - logger.clear(); |
70 | | - logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys); |
71 | 63 | const systemDatabases = connectionInfo.includeSystemCollection |
72 | 64 | ? [] |
73 | 65 | : ['information_schema', 'mysql', 'performance_schema']; |
@@ -127,10 +119,7 @@ module.exports = { |
127 | 119 | }); |
128 | 120 |
|
129 | 121 | try { |
130 | | - logger.log('info', data, 'data', data.hiddenKeys); |
131 | | - |
132 | 122 | const sshService = app.require('@hackolade/ssh-service'); |
133 | | - |
134 | 123 | const collections = data.collectionData.collections; |
135 | 124 | const dataBaseNames = data.collectionData.dataBaseNames; |
136 | 125 | const connection = await this.connect(data, sshService); |
|
0 commit comments