schimaere / node-red-contrib-natsstreaming

NodeRED nodes for nats-streaming
MIT License
5 stars 3 forks source link

Feature Request: disable publish logging by default #2

Closed ronopitz closed 5 years ago

ronopitz commented 5 years ago

Hi, at the moment, every published message creates a log entry. In my environment I comment out the line 69 in the file nats-streaming-publish.js

node.log('published message with guid: ' + guid);

Suggestion: Add a checkbox to the publish node configuration form to enable debugging. Only when debugging is enabled the messages will be write to the log. Thanks

schimaere commented 5 years ago

Hi, I added a checkbox to the publish node to activate logging. Default is no logging.