Is it really stored in flash? Continually writing log data would eventually fry your flash.
The default seems to be a RAM buffer. A few times I have modified my:
/etc/config/system
to do logging to a USB drive to catch errors that are lost due to a reboot.
This is from @alzhao