Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetricLoadScriptService: omit log messages in production mode #55

Open
saschaszott opened this issue Oct 25, 2023 · 0 comments
Open

MetricLoadScriptService: omit log messages in production mode #55

saschaszott opened this issue Oct 25, 2023 · 0 comments

Comments

@saschaszott
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant