Perhaps include this information with the timestamp in the log. (It is interesting for the sleep-pattern application: Is my alarm ringing?)