mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 03:45:59 +00:00
chore: add logging for server summary
This commit is contained in:
@@ -270,6 +270,7 @@ module.exports = {
|
||||
|
||||
serverSummary_meta: true,
|
||||
async serverSummary({ conid }, req) {
|
||||
logger.info({ conid }, 'DBGM-00260 Processing server summary');
|
||||
testConnectionPermission(conid, req);
|
||||
return this.loadDataCore('serverSummary', { conid });
|
||||
},
|
||||
@@ -277,6 +278,7 @@ module.exports = {
|
||||
listDatabaseProcesses_meta: true,
|
||||
async listDatabaseProcesses(ctx, req) {
|
||||
const { conid } = ctx;
|
||||
logger.info({ conid }, 'DBGM-00261 Processing server summary');
|
||||
testConnectionPermission(conid, req);
|
||||
|
||||
const opened = await this.ensureOpened(conid);
|
||||
|
||||
Reference in New Issue
Block a user