WiFi logs have the notorious behavior of filling up phone space. But MIUI ROMs appear to be particularly prone to this problem.
It seems the developers of both MIUI 8 and 9 did not find excessive WiFi logging to be a nuisance. They left that option enabled by default.
Xiaomi users have even reported the same issue with other MIUI-based ROMs.
Remember, logging is not a bad thing per se. The Android system relies on this technique for recording debugging data.
How to free up space By disabling WiFi logging in MIUI ROMs
Some of the functions that use logging include Bluetooth, Navigation, WiFi, just to mention a few.
Whereas a large number of logs could occupy internal memory unnecessarily, there’s another significant risk involved. These files may also record sensitive information.
For example, WiFi logs contain the MAC and SSID addresses of WLAN networks. And that’s in clear text, mark you. So that means; if your phone has root access, malware could know precisely where to strike.
It’s settled then. We need a way to stop MIUIs from creating these logs. Here’s how.
First Things, First
One, as with any process that changes system files, disabling WiFi logging first needs root access.
If you’ve not rooted your Xiaomi phone, there are excellent guides in previous posts.