WideChat / Rocket.Chat

Have your own Slack like online chat, built with Meteor.
https://rocket.chat/
Other
3 stars 1 forks source link

Add timestamp to Rocketchat logs #549

Open ear-dev opened 3 years ago

ear-dev commented 3 years ago

we would like a single timestamp per log message. As it is, the stdout is giving us a timestamp per line and not per message, which makes it impossible to reconstitute a single log message in fluent bit and to send them to the Viasat Kafka instance for examination in elasticsearch and kibana.

However, looking at Admin/View Logs, in the Rocketchat UI, it does seem to aggregate all the lines in a log message under one timestamp. Is it possible to send that version to stdout?

ear-dev commented 3 years ago

An even better solution would be to fix our meteor logging so that each log point comes out as a single line in stdout, instead of multiple lines the way it is now.