48
If you just want to see the current contents of the log, you can do adb logcat -d > myfile
It will exit after dumping the log.
(suravi's suggestion would be good if you wanted to watch the log while testing.)