after some events
1. dial *#9900# and if the Debug Level is Disabled/LOW, tap to select MID. This restarts the device.
2. Again dial *#9900# and press “RUNDUMPSTATE/LOGCAT/”
3. When it is finished press “COPYTOSDCARD(INCLUDECP RAMDUMP)
4. In the main folder of the device filesystem, there will be a new folder called “log”. The log file should be there.