Both Montgomery and Dachis back the idea of keeping a kind of sleep log, something that will let you cross-reference the data you get from your electronic gadgets with details about what you were doing before you went to bed, and your impressions of how you slept.