<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def process(self, event):
 """Put and process tasks in queue. """

        logger.info(f"{self}: put {event.src_path}")
        self.queue.put(os.path.basename(event.src_path))