-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Comments
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. |
This looks like it was only solved for iOS? Or am I mistaken? |
@biesbjerg you might be right :-) I don't see any config option to hide logs in the Android code from capacitor. |
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. |
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. |
I think it's a must-have feature, we would be able to better isolate and debug issues on native part.
capacitor/ios/Capacitor/Capacitor/CAPBridgeDelegate.swift
Line 38 in 8158d91
The text was updated successfully, but these errors were encountered: