Logging the hours of certain activities