Skip to content

Commit

Permalink
added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jpadilla1 committed Jul 27, 2014
1 parent aad2303 commit f51aa61
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions chatrooms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,22 @@ class Common(Configuration):
)
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"level": "INFO",
"class": "logging.StreamHandler",
},
},
"loggers": {
"django": {
"handlers": ["console"],
}
}
}


class Development(Common):
DEBUG = True
Expand Down

0 comments on commit f51aa61

Please sign in to comment.