Try logging to stderr.

This commit is contained in:
yackob03 2013-10-01 00:16:03 -04:00
parent 67147240b6
commit afb5dbaaa4

View file

@ -1,4 +1,5 @@
import logging
import sys
from peewee import MySQLDatabase, SqliteDatabase
@ -64,7 +65,7 @@ class DebugConfig(FlaskConfig, MailConfig, LocalStorage, SQLiteDB):
class ProductionConfig(FlaskConfig, MailConfig, S3Storage, RDSMySQL):
REGISTRY_SERVER = 'quay.io'
LOGGING_CONFIG = {
'filename': '/opt/python/log/application.log',
'stream': sys.stderr,
'level': logging.DEBUG,
'format': LOG_FORMAT,
}