You must have noticed WLAN_LOGS folder in your internal storage with some files inside it taking up considerable amount of space. These files re-apppear even after deleting them. WLAN_LOGS : https://imgur.com/a/pq32N
After further digging I found out that MIUI devs have enabled (or should I say forgotten to disable) WiFi logging on the final build of MIUI ROM. WiFi logs are dumped as soon as you connect to any WiFi. This issue is present on official MIUI8, MIUI9 ROM and MIUI based custom ROMs such as Xiaomi.EU, MIUI Pro etc. as well.
How to disable WiFi log spam (needs root access) : Root here
After further digging I found out that MIUI devs have enabled (or should I say forgotten to disable) WiFi logging on the final build of MIUI ROM. WiFi logs are dumped as soon as you connect to any WiFi. This issue is present on official MIUI8, MIUI9 ROM and MIUI based custom ROMs such as Xiaomi.EU, MIUI Pro etc. as well.
How to disable WiFi log spam (needs root access) : Root here
- Install any file manager app that supports root access such as Solid Explorer, MiXplorer
- Open the app and grant root permissions
- Go to the root folder > data > misc > wifi > cnss.diag.conf
- Open it with the text editor and change the values as under
Code:LOG_PATH_FLAG = 0 MAX_LOG_FILE_SIZE = 1 MAX_ARCHIVES = 1 LOG_STORAGE_PATH =
- Save the file and reboot your phone. WiFi logging will be disabled permanently.
Last edited: