Android logging system is based on ring buffers located in RAM. Because of that sometimes you can't get the log of an issue (such as unexpected reboot or if you have no connection to adb at that moment). It's especially significant if you test unstable firmware (such as cyanogen nightly).
The following method enables one to overcome this restriction.
The following method enables one to overcome this restriction.