のぶLab.

流しのソフトウェアエンジニアの雑記帳. Android, Scala, Clojure, Ruby on Railsなど

gunicornで"valueerror dictionary doesn't specify a version"

pip install gunicorn

でgunicornをインストール
Djangoプロジェクトの"INSTALLED_APPS"に"gunicorn"を登録していざアプリケーションを起動させたところ、
"valueerror dictionary doesn't specify a version"というエラーが発生

どうもsetting.pyにLOGGINGの記述が必要らしいです

LOGGING = {
    'version': 1,
}

http://stackoverflow.com/questions/16005245/how-do-i-define-a-settings-logging-so-that-gunicorn-will-find-the-version-value