Le repo des sources pour le site web des JM2L
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

73 Zeilen
1.3 KiB

  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 = false
  10. pyramid.debug_authorization = false
  11. pyramid.debug_notfound = false
  12. pyramid.debug_routematch = false
  13. pyramid.default_locale_name = fr
  14. pyramid.includes =
  15. pyramid_mailer
  16. pyramid_tm
  17. pyramid_mako
  18. pyramid_exclog
  19. sqlalchemy.url = sqlite:///%(here)s/JM2L.sqlite
  20. # Security
  21. secret_Cookies = 'secret'
  22. secret_AuthTkt = 'secret2'
  23. [server:main]
  24. use = egg:waitress#main
  25. host = 0.0.0.0
  26. port = 6543
  27. ###
  28. # logging configuration
  29. # http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/logging.html
  30. ###
  31. [loggers]
  32. keys = root, jm2l, sqlalchemy
  33. [handlers]
  34. keys = console
  35. [formatters]
  36. keys = generic
  37. [logger_root]
  38. level = WARN
  39. handlers = console
  40. [logger_jm2l]
  41. level = WARN
  42. handlers =
  43. qualname = jm2l
  44. [logger_sqlalchemy]
  45. level = WARN
  46. handlers =
  47. qualname = sqlalchemy.engine
  48. # "level = INFO" logs SQL queries.
  49. # "level = DEBUG" logs SQL queries and results.
  50. # "level = WARN" logs neither. (Recommended for production systems.)
  51. [handler_console]
  52. class = StreamHandler
  53. args = (sys.stderr,)
  54. level = NOTSET
  55. formatter = generic
  56. [formatter_generic]
  57. format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s