Advertisement
Guest User

Untitled

a guest
Aug 11th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # cumulus - Pylons configuration
  3. #
  4. # The %(here)s variable will be replaced with the parent directory of this file
  5. #
  6. [DEFAULT]
  7. debug = true
  8. email_to =
  9. smtp_server =
  10. smtp_username =
  11. smtp_password =
  12. smtp_use_tls = true
  13.  
  14. [uwsgi]
  15. socket = /storage/apps/cumulus/uwsgi.sock
  16. listen = 1024
  17. socket-timeout = 10
  18. master = true
  19. pidfile = uwsgi.pid
  20. processes = 2
  21. disable-logging = true
  22. logdate = %Y-%m-%d %H:%M:%S
  23. log-slow = 5000
  24. #logto = /dev/null
  25. #harakiri = 10
  26. #limit-as = 128
  27. #enable-threads = true
  28. home = /storage/apps/pylons
  29. wsgi-file = wsgi.py
  30.  
  31. [server:main]
  32. use = egg:Paste#http
  33. host = 0.0.0.0
  34. port = 4000
  35.  
  36. [app:main]
  37. use = egg:cumulus
  38. full_stack = true
  39. static_files = true
  40.  
  41. cache_dir = %(here)s/data
  42. beaker.session.key = cumulus
  43. beaker.session.secret =
  44. app_instance_uuid =
  45.  
  46. # If you'd like to fine-tune the individual locations of the cache data dirs
  47. # for the Cache data, or the Session saves, un-comment the desired settings
  48. # here:
  49. #beaker.cache.data_dir = %(here)s/data/cache
  50. #beaker.session.data_dir = %(here)s/data/sessions
  51.  
  52. # SQLAlchemy database URL
  53. sqlalchemy.url =
  54.  
  55. # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
  56. # Debug mode will enable the interactive debugging tool, allowing ANYONE to
  57. # execute malicious code after an exception is raised.
  58. set debug = false
  59.  
  60. # Logging configuration
  61. [loggers]
  62. keys = root
  63.  
  64. [handlers]
  65. keys = console, file
  66.  
  67. [formatters]
  68. keys = generic
  69.  
  70. [logger_root]
  71. level = INFO
  72. handlers = console
  73.  
  74. [handler_console]
  75. class = StreamHandler
  76. args = (sys.stderr,)
  77. level = NOTSET
  78. formatter = generic
  79.  
  80. [handler_file]
  81. class = FileHandler
  82. args = ('application.log', 'a')
  83. level = INFO
  84. formatter = generic
  85.  
  86. [formatter_generic]
  87. format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement