Skip to content

Commit 4c4bfa9

Browse files
authored
HCK-11091: Move the log of the start to the studio (#171)
1 parent 23ea172 commit 4c4bfa9

File tree

3 files changed

+0
-59
lines changed

3 files changed

+0
-59
lines changed

forward_engineering/api.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ module.exports = {
4040
},
4141

4242
applyToInstance(connectionInfo, logger, callback, app) {
43-
logger.clear();
44-
logger.log('info', connectionInfo, 'connectionInfo', connectionInfo.hiddenKeys);
45-
4643
applyToInstanceHelper
4744
.applyToInstance(connectionInfo, logger, app)
4845
.then(result => {

reverse_engineering/api.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
const _ = require('lodash');
2-
const logInfo = require('./helpers/logInfo');
32
const oracleHelper = require('./helpers/oracleHelper');
43

54
module.exports = {
65
async connect(connectionInfo, logger, callback, app) {
76
const sshService = app.require('@hackolade/ssh-service');
8-
logInfo('Connect to instance', connectionInfo, logger);
97
oracleHelper.logEnvironment(logger);
108
try {
119
await oracleHelper.connect(connectionInfo, sshService, message => {
@@ -40,7 +38,6 @@ module.exports = {
4038

4139
async getSchemaNames(connectionInfo, logger, callback, app) {
4240
try {
43-
logInfo('Get schemas', connectionInfo, logger);
4441
await this.connect(connectionInfo, logger, () => {}, app);
4542
const schemas = await oracleHelper.getSchemaNames();
4643
logger.log('info', schemas, 'All schemas list', connectionInfo.hiddenKeys);
@@ -84,7 +81,6 @@ module.exports = {
8481
logger.log('info', { message, schema: containerName, table: entityName }, 'Retrieving schema');
8582
logger.progress({ message, containerName, entityName });
8683
};
87-
logger.log('info', collectionsInfo, 'Retrieving schema', collectionsInfo.hiddenKeys);
8884
progress({ message: 'Start reverse-engineering process', containerName: '', entityName: '' });
8985
const data = collectionsInfo.collectionData;
9086
const collections = data.collections;

reverse_engineering/helpers/logInfo.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)