Newer Android versions store only very short logs by default. If you are reporting a bug and want to attach a log, the log will be more useful if you increase log sizes before capturing it.
On the device, go to Settings > About Phone.
Tap the Build number seven times to make Settings > Developer options available.
Go to System > Developer options > Logger buffer sizes.
Select the highest option available (8 M):
