question

mtt avatar image
mtt asked mtt commented

JS SDK: Are debug console log messages removed in production?

JS SDK

Are debug console log messages removed in production? Or is there some code I need to change to disable debug log messages?

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hammer avatar image hammer ♦ commented ·
0 Likes 0 ·
mtt avatar image mtt commented ·

Correct, in reference to remote-pay-cloud

0 Likes 0 ·

1 Answer

hammer avatar image
hammer answered hammer commented

Debug messages are not removed in production at this time. I will register an issue to allow for these messages to be suppressed.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

hammer avatar image hammer ♦ commented ·

A patch version is now available (https://www.npmjs.com/package/remote-... version 1.1.0-rc5.1) that will suppress log messages by default, yet allow the default log messages to be displayed if desired.

0 Likes 0 ·

Welcome to the
Clover Developer Community