test.ini 1015 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [DEFAULT]
  2. debug = false
  3. smtp_server = localhost
  4. error_email_from = paste@localhost
  5. [server:main]
  6. use = egg:Paste#http
  7. host = 0.0.0.0
  8. port = 5000
  9. [app:celery]
  10. CELERY_ALWAYS_EAGER = True
  11. [app:main]
  12. use = config:../ckan/test-core.ini
  13. solr_url = http://127.0.0.1:8983/solr
  14. ckan.plugins = archiver testipipe report
  15. ckanext-archiver.cache_url_root = http://localhost:50001/resources/
  16. ckanext-archiver.max_content_length = 1000000
  17. # Logging configuration
  18. [loggers]
  19. keys = root, ckan, sqlalchemy
  20. [handlers]
  21. keys = console
  22. [formatters]
  23. keys = generic
  24. [logger_root]
  25. level = WARN
  26. handlers = console
  27. [logger_ckan]
  28. qualname = ckan
  29. handlers =
  30. level = INFO
  31. propagate = 0
  32. [logger_sqlalchemy]
  33. handlers =
  34. qualname = sqlalchemy.engine
  35. level = WARN
  36. [logger_harvest]
  37. level = WARNING
  38. handlers = console
  39. qualname = ckanext.harvest
  40. propagate = 0
  41. [handler_console]
  42. class = StreamHandler
  43. args = (sys.stdout,)
  44. level = NOTSET
  45. formatter = generic
  46. [formatter_generic]
  47. format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s