<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _task_periodic(self):
 """ This is a callback that is registered to be called periodically from the legion. The legion chooses when it might be called, typically when it is otherwise idle. """

        log = self._params.get('log', self._discard)
        log.debug("periodic")
        self.manage()