feat: structured logging (JSON) (#5118)

This commit is contained in:
Cassandra 2024-09-24 11:51:21 +02:00 committed by GitHub
parent dd75890364
commit b287a25de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 186 additions and 239 deletions

View file

@ -60,7 +60,7 @@ module.exports.apiKeySocketHandler = (socket) => {
ok: true,
});
} catch (e) {
console.error(e);
log.error("apikeys", e);
callback({
ok: false,
msg: e.message,