Authored by htoooth

enabel debug

... ... @@ -21,7 +21,7 @@ class MySqlSender {
const len = this.batchMessages.length;
if (len < 1) {
// logger.debug('[db] insert list is empty');
logger.debug('[db] insert list is empty');
return;
}
... ...
... ... @@ -24,7 +24,7 @@ const server = {
switch (m.measurement) {
case 'web-server-duration': {
// handleWebServerDuration(m);
handleWebServerDuration(m);
if (m.tags.type === 'route') {
await handleRisk(m);
... ... @@ -45,7 +45,7 @@ const server = {
}
}
// logger.debug('[server] handle OK [%j]', data);
logger.debug('[server] handle OK [%j]', data);
}, {concurrency: 2});
} catch (e) {
logger.error('[server] handle ERROR [%s]', e);
... ...