Le repo des sources pour le site web des JM2L
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

9 yıl önce
9 yıl önce
9 yıl önce
9 yıl önce
9 yıl önce
9 yıl önce
9 yıl önce
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. ###
  2. # app configuration
  3. # http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/environment.html
  4. ###
  5. [app:main]
  6. use = egg:JM2L
  7. mail.host = localhost
  8. mail.port = 25
  9. pyramid.reload_templates = true
  10. pyramid.debug_authorization = false
  11. pyramid.debug_notfound = false
  12. pyramid.debug_routematch = false
  13. pyramid.default_locale_name = en
  14. pyramid.includes =
  15. pyramid_debugtoolbar
  16. pyramid_tm
  17. pyramid_mako
  18. pyramid_exclog
  19. sqlalchemy.url = sqlite:///%(here)s/JM2L.sqlite
  20. # By default, the toolbar only appears for clients from IP addresses
  21. # '127.0.0.1' and '::1'.
  22. # debugtoolbar.hosts = 127.0.0.1 ::1
  23. ###
  24. # wsgi server configuration
  25. ###
  26. [server:main]
  27. use = egg:waitress#main
  28. host = 0.0.0.0
  29. port = 8080
  30. ###
  31. # logging configuration
  32. # http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/logging.html
  33. ###
  34. [loggers]
  35. keys = root, jm2l, sqlalchemy
  36. [handlers]
  37. keys = console
  38. [formatters]
  39. keys = generic
  40. [logger_root]
  41. level = WARN
  42. handlers = console
  43. [logger_jm2l]
  44. level = WARN
  45. handlers =
  46. qualname = jm2l
  47. [logger_sqlalchemy]
  48. level = WARN
  49. handlers =
  50. qualname = sqlalchemy.engine
  51. # "level = INFO" logs SQL queries.
  52. # "level = DEBUG" logs SQL queries and results.
  53. # "level = WARN" logs neither. (Recommended for production systems.)
  54. [handler_console]
  55. class = StreamHandler
  56. args = (sys.stderr,)
  57. level = DEBUG
  58. formatter = generic
  59. [formatter_generic]
  60. format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s