Le repo des sources pour le site web des JM2L
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

development.ini 1.4 KiB

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