More stuff for scheduling logging.