Repeated calls to StorageHelper:decryptWithSecretKey and info logging
See original GitHub issueDescribe the bug
Noticed ton of messages like these are getting logged when I am running my app on Pixel 3XL phone, it slows down the app and actually crashes adb logcat!!
02-20 16:29:42.116 12984 13012 I StorageHelper:decryptWithSecretKey: [2021-02-21 00:29:42 - {"thread_id":"89186","correlation_id":"UNSET"}] Using key with thumbprint XXX Android 30
02-20 16:29:42.116 12984 13012 I StorageHelper:decryptWithSecretKey: [2021-02-21 00:29:42 - {"thread_id":"89186","correlation_id":"UNSET"}] Using key with thumbprint XXX Android 30
02-20 16:29:42.117 12984 13012 I StorageHelper:decryptWithSecretKey: [2021-02-21 00:29:42 - {"thread_id":"89186","correlation_id":"UNSET"}] Using key with thumbprint XXX Android 30
02-20 16:29:42.117 12984 13012 I StorageHelper:decryptWithSecretKey: [2021-02-21 00:29:42 - {"thread_id":"89186","correlation_id":"UNSET"}] Using key with thumbprint XXX Android 30
02-20 16:29:42.117 12984 13012 I StorageHelper:decryptWithSecretKey: [2021-02-21 00:29:42 - {"thread_id":"89186","correlation_id":"UNSET"}] Using key with thumbprint XXXX Android 30
Eventually adb crashes:
This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log messages as quickly as they were being produced. If you have enabled significant logging, look into using the -G option to increase log buffer sizes.
Smartphone (please complete the following information):
- Device: Pixel 3 XL
- Android Version: 11
- Browser : N./A
- MSAL Version : 1.6.0
To Reproduce Steps to reproduce the behavior:
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
log messages appearing twice with Python Logging
Multiple calls to getLogger() with the same name will always return a reference to the same Logger object". Make sure you don't initialise...
Read more >logging — Logging facility for Python — Python 3.11.1 ...
Multiple calls to getLogger() with the same name will always return a reference to the same Logger object. The name is potentially a...
Read more >The Ultimate Guide to Logging in Python - Rollbar
Logging in Python allows you to track, tag, and assign severity levels to events that happen when an application runs.
Read more >discussion: structured, leveled logging #54763 - GitHub
Each call to a Logger output method, like Info , Error or LogAttrs , creates a Record and invokes the Handle method. The...
Read more >Logging in Python - Real Python
With the logging module imported, you can use something called a “logger” to log messages ... Notice that the debug() and info() messages...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@snijsure It’ll be a 2.x release of MSAL, which will take the leading version of MSAL-Android-Common (which has been in the 3.x series for at lease a little while now).
Fixed in our latest release, sorry for the trouble: https://github.com/AzureAD/microsoft-authentication-library-for-android/releases/tag/v2.0.8
This fix will be available in the Intune Company Portal & Microsoft Authenticator builds in the late-March/early-April releases