Authored by htoooth

Revert "change log from info to debug"

This reverts commit ca96e81f.
... ... @@ -28,7 +28,7 @@ class MySqlSender {
const bulk = this.batchMessages.splice(0, len);
for (let i of bulk) {
logger.debug('[db] insert db [%s]', JSON.stringify(i));
logger.info('[db] insert db [%s]', JSON.stringify(i));
await client(this.table).insert(i).catch((err) => {
logger.error('[db] insert data=[%s] error=[%s]', JSON.stringify(i), err);
});
... ...
... ... @@ -110,7 +110,7 @@ module.exports = (req, res, next) => {
res.send();
logger.debug('[client] handle OK [%s]', req.query.l);
logger.info('[client] handle OK [%s]', req.query.l);
} catch (e) {
logger.error('[client] handle ERROR [%s]', e);
return next(e);
... ...
... ... @@ -38,7 +38,7 @@ const server = {
}
}
});
logger.debug('[server] handle OK [%s]', data);
logger.info('[server] handle OK [%s]', data);
} catch (e) {
logger.error('[server] handle ERROR [%s]', e);
}
... ...