Log your sleep each morning and watch your patterns emerge. Understanding your sleep is the first step to fixing it.