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

currently there is no way to disable logs #1431

Closed
stewones opened this issue Apr 25, 2019 · 5 comments · Fixed by #1697
Closed

currently there is no way to disable logs #1431

stewones opened this issue Apr 25, 2019 · 5 comments · Fixed by #1697
Milestone

Comments

@stewones
Copy link
Contributor

I think it's a must-have feature, we would be able to better isolate and debug issues on native part.

print("To Native Cordova -> ", pluginId, method, callbackId, options)

@mlynch
Copy link
Contributor

mlynch commented May 19, 2019

Marking this as high priority because it also has performance implications and we don't need to print out this stuff out by default but could be useful for debugging.

@biesbjerg
Copy link

This looks like it was only solved for iOS? Or am I mistaken?

@kevinboosten
Copy link

@biesbjerg you might be right :-) I don't see any config option to hide logs in the Android code from capacitor.

@fifafu
Copy link

fifafu commented Jan 7, 2020

It would be really good if there was a flag added for Android also. This is often an issue in enterprise builds because the security teams don't want the risk for any sensitive data being logged. (Which can happen easily, for example if you have a password store native plugin).

For now the only way seems to be to manually comment all the log statements.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 13, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants