title: Celery and Django, Logging Celery
body: <p>I'm running celery with django and works great in development. But now I want to make it live 
  on my production server and I am running into some issues.</p>
  
  <p>My setup is as follows:</p>
  
  <ul>
  <li>Ubuntu</li>
  <li>Nginx</li>
  <li>Vitualenv</li>
  <li>Upstart</li>
  <li>Gunicorn</li>
  <li>Django</li>
  </ul>
  
  <p>I'm not sure how to now start celery with django when starting it with upstart and where does it log to?</p>
  
  <p>Im starting django here:</p>
  
  <pre><code>~$ cd /var/www/webapps/minamobime_app
  ~$ source ../bin/activate
  </code></pre>
  
  <blockquote>
    <p>exec /var/www/webapps/bin/gunicorn_django -w $NUM_WORKERS \
            --user=$USER --group=$GROUP --bind=$IP:$PORT --log-level=debug \
            --log-file=$LOGFILE 2>>$LOGFILE</p>
  </blockquote>
  
  <p>how do I start celery?</p>
  
  <pre><code>exec python manage.py celeryd -E -l info -c 2
  </code></pre>