<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def startReceivingBoxes(self, sender):
 """ Start observing log events for stat events to send. """

        AMP.startReceivingBoxes(self, sender)
        log.addObserver(self._emit)