mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
more logging
This commit is contained in:
parent
88469e7366
commit
5dc5c34af3
@ -8,6 +8,7 @@ const { datadir, filesdir } = require('../utility/directories');
|
||||
const socket = require('../utility/socket');
|
||||
const { encryptConnection } = require('../utility/crypting');
|
||||
const { handleProcessCommunication } = require('../utility/processComm');
|
||||
const { pickSafeConnectionInfo } = require('../utility/crypting');
|
||||
|
||||
const processArgs = require('../utility/processArgs');
|
||||
|
||||
@ -53,6 +54,8 @@ function getPortalCollections() {
|
||||
singleDatabase: !!process.env[`DATABASE_${id}`],
|
||||
displayName: process.env[`LABEL_${id}`],
|
||||
}));
|
||||
console.log('Using connections from ENV variables:');
|
||||
console.log(JSON.stringify(connections.map(pickSafeConnectionInfo), undefined, 2));
|
||||
const noengine = connections.filter(x => !x.engine);
|
||||
if (noengine.length > 0) {
|
||||
console.log(
|
||||
|
Loading…
Reference in New Issue
Block a user