logging for start and end of periodic tasks