I don't know about logging in dcs but after long periods of gaming, here are some tips..
Recount
-has the option to stop collecting data via keybindings (best paired with hide while not collecting)
-be sure to clear the data often, especially after long raids, bgs, or large aoe encounters
-in situations like Many Whelps! Handle It!, global data collection being turned off can help prevent a dc via the gear icon
Dalaran
-I don't have an incredible pc, but I try to maximize what I have which has let my toon live in Dal since pre 3.2..
"I have a lot of friends who have lag issues so since this is also for them, I suggest checking out the Blue Posts at WoW Forums'
System Performance Guide, 3.x edition and checking out
LeatrixLatencyFix."