title: Capture logs in apscheduler
body: <p>How do I capture logs inside a job from <a href="http://pythonhosted.org/APScheduler/" rel="nofollow">apscheduler</a>?</p>
  
  <p>Assume, I have the following job</p>
  
  <pre><code>@sched.interval_schedule(hours=3)
  def some_job():
      log.info('I was here.')
      log.info('And here.')
  </code></pre>
  
  <p>And a listener</p>
  
  <pre><code>sched.add_listener(job_listener,
                         events.EVENT_JOB_EXECUTED |
                         events.EVENT_JOB_MISSED |
                         events.EVENT_JOB_ERROR)
  
  def job_listener(event):
      # how do I get the logged messages here?
  </code></pre>
  
  <p>How can I access the messages in <code>job_listener</code>? </p>