Created
October 8, 2014 02:11
-
-
Save digitalresistor/396df29e1cee40f79572 to your computer and use it in GitHub Desktop.
uwsgi-betatest.ini
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# app configuration | |
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html | |
### | |
[app:main] | |
use = egg:betatest | |
pyramid.reload_templates = false | |
pyramid.debug_authorization = false | |
pyramid.debug_notfound = false | |
pyramid.debug_routematch = false | |
pyramid.default_locale_name = en | |
pyramid.includes = | |
pyramid_mako | |
pyramid_tm | |
mako.directories = betatest:templates | |
pyramid.secretcookie = | |
pyramid.auth.secret = | |
sqlalchemy.url = postgresql://betatest:[email protected]/betatest | |
pyramid_deform.tempdir = /usr/home/betatest/tmp/ | |
betatest.upload_path = /usr/home/betatest/files/ | |
mail.host = 127.0.1.2 | |
mail.port = 25 | |
[uwsgi] | |
master = true | |
processes = 2 | |
virtualenv = /usr/home/.ve/ | |
uid = 1001 | |
gid = 1001 | |
env = PYTHON_EGG_CACHE=/usr/home/betatest/.ve/egg-cache/ | |
[server:main] | |
use = egg:waitress#main | |
host = 0.0.0.0 | |
port = 6543 | |
### | |
# logging configuration | |
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html | |
### | |
[loggers] | |
keys = root, betatest, sqlalchemy | |
[handlers] | |
keys = console | |
[formatters] | |
keys = generic | |
[logger_root] | |
level = WARN | |
handlers = console | |
[logger_betatest] | |
level = WARN | |
handlers = | |
qualname = betatest | |
[logger_sqlalchemy] | |
level = WARN | |
handlers = | |
qualname = sqlalchemy.engine | |
# "level = INFO" logs SQL queries. | |
# "level = DEBUG" logs SQL queries and results. | |
# "level = WARN" logs neither. (Recommended for production systems.) | |
[handler_console] | |
class = StreamHandler | |
args = (sys.stderr,) | |
level = NOTSET | |
formatter = generic | |
[formatter_generic] | |
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment