RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.03k stars 10.32k forks source link

Improve log readability for integrations #6866

Open PPPBerlin opened 7 years ago

PPPBerlin commented 7 years ago

Rocket.Chat Version: 0.55.1 Running Instances: 1 DB Replicaset OpLog: Disabled Node Version: v4.8.1

rocketchat_logger rocketchat_logger.js:377 Integrations ➔ Outgoing WebHook.info Will be executing the Integration "JIRA" to the url: http://172.18.0.7:4567/ rocketchat_logger rocketchat_logger.js:377 Integrations ➔ Outgoing WebHook.info Status code for the Integration JIRA to http://172.18.0.7:4567/ is 200

This log entry spam into the main-log of rocket.chat.

it would be great, to configure the logger entrys for the integrations.

graywolf336 commented 7 years ago

What do you mean by configure it? How would it work? What type of configuration options would there be?

PPPBerlin commented 7 years ago

To configure the loglevel of the Integrations also. If i want loglevel 1 or 2 for debugging ldap or RC stuff, the logentrys from the Integrations flood over the log. I can use i.e. grep -v for that in the shell, but that doesn't work in the Log Interface.

graywolf336 commented 7 years ago

Makes sense, will see what's possible.