Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # cumulus - Pylons configuration
- #
- # The %(here)s variable will be replaced with the parent directory of this file
- #
- [DEFAULT]
- debug = true
- email_to =
- smtp_server =
- smtp_username =
- smtp_password =
- smtp_use_tls = true
- [uwsgi]
- socket = /storage/apps/cumulus/uwsgi.sock
- listen = 1024
- socket-timeout = 10
- master = true
- pidfile = uwsgi.pid
- processes = 2
- disable-logging = true
- logdate = %Y-%m-%d %H:%M:%S
- log-slow = 5000
- #logto = /dev/null
- #harakiri = 10
- #limit-as = 128
- #enable-threads = true
- home = /storage/apps/pylons
- wsgi-file = wsgi.py
- [server:main]
- use = egg:Paste#http
- host = 0.0.0.0
- port = 4000
- [app:main]
- use = egg:cumulus
- full_stack = true
- static_files = true
- cache_dir = %(here)s/data
- beaker.session.key = cumulus
- beaker.session.secret =
- app_instance_uuid =
- # If you'd like to fine-tune the individual locations of the cache data dirs
- # for the Cache data, or the Session saves, un-comment the desired settings
- # here:
- #beaker.cache.data_dir = %(here)s/data/cache
- #beaker.session.data_dir = %(here)s/data/sessions
- # SQLAlchemy database URL
- sqlalchemy.url =
- # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
- # Debug mode will enable the interactive debugging tool, allowing ANYONE to
- # execute malicious code after an exception is raised.
- set debug = false
- # Logging configuration
- [loggers]
- keys = root
- [handlers]
- keys = console, file
- [formatters]
- keys = generic
- [logger_root]
- level = INFO
- handlers = console
- [handler_console]
- class = StreamHandler
- args = (sys.stderr,)
- level = NOTSET
- formatter = generic
- [handler_file]
- class = FileHandler
- args = ('application.log', 'a')
- level = INFO
- formatter = generic
- [formatter_generic]
- format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement