4Science / dspace-angular

Angular UI for DSpace and DSpace-CRIS. In the dspace-cris-7 branch you can find the extension to support DSpace-CRIS
BSD 3-Clause "New" or "Revised" License
14 stars 28 forks source link

MetricLoadScriptService: omit log messages in production mode #55

Open saschaszott opened 11 months ago

saschaszott commented 11 months ago

We see a lot of info log messages in the JS console even in production mode, e.g.

Loading script of altmetric
Loading script of dimensions
Loading script of plumX
Resolving with status Loaded

These messages are generated in MetricLoadScriptService.

Please consider to remove these debug messages in https://github.com/4Science/dspace-angular/blob/dspace-cris-7/src/app/shared/metric/metric-loader/metric-load-script.service.ts#L17 at least in production mode.