1. Home
  2. Docs
  3. Bugfender SDK for Android
  4. Advanced usage
  5. Adjusting cache disk size

Adjusting cache disk size

Bugfender keeps up to 5 MB worth of log data in the device. This way Bugfender can work offline, and you can get some log data from the past when enabling a device. You can change that limit with setMaximumLocalStorageSize.

// Setting maximum cache size to 1 Mb
Bugfender.setMaximumLocalStorageSize(1024*1024)