Rename 'message' key by 'event_message'

This commit is contained in:
Daniel García Aubert 2020-07-23 10:32:58 +02:00
parent 1ae9a66f85
commit b7ecea3201

View File

@ -24,7 +24,7 @@ module.exports = class Logger {
return { levelname: label }; return { levelname: label };
} }
}, },
messageKey: 'message', messageKey: 'event_message',
timestamp: () => `,"timestamp":"${new Date(Date.now()).toISOString()}"`, timestamp: () => `,"timestamp":"${new Date(Date.now()).toISOString()}"`,
serializers: { serializers: {
client_request: requestSerializer, client_request: requestSerializer,