Log a message with monitoring URL in JS client
- Updated the streaming sample to enable logging to show the feature easily