title: Log a message in my terminal server (localhost:8000)
body: <pre><code>def clean_expired_requests():
      now = datetime.datetime.now()
      qs = Request.objects.filter(
              expires_at__date=now, state__in=[
                  'documents', 'validation', 'evaluation', 'signature'])
      for req in qs:
          log.debug('Request %s expired' % req)
          req.expired_at_state = req.state.name
          req.save()
          req.expire()
          EmailFromTemplate('expired-request').send_to(req.customer.user)
  </code></pre>
  
  <p>I am working on a Django project. I would like to insert something which will advise me that the following method has been called when I run the server (<code>python manage.py runserver_plus</code>). I thought it could write me a message in my terminal server 'clean_expired_request has been called!'. How could I do such thing?</p>
  
  <p>Please let me know if the question is unclear.</p>