-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtest.ini
100 lines (79 loc) · 1.91 KB
/
test.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[DEFAULT]
debug = false
# Uncomment and replace with the address which should receive any error reports
#email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000
[app:main]
use = config:../ckan/test-core.ini
ckan.plugins =
datarequests
scheming_datasets
validation
data_qld
resource_visibility
ytp_comments
## ckanext-data_qld
ckanext.data_qld.resource_formats = CSV HTML JSON RDF TXT XLS
ckanext.data_qld.reporting.de_identified_no_schema.count_from = 2022-01-01
## ckanext-scheming
scheming.dataset_schemas = ckanext.data_qld:ckan_dataset.json
scheming.presets =
ckanext.scheming:presets.json
ckanext.data_qld:presets.json
ckanext.resource_visibility:schema/presets.json
scheming.dataset_fallback = false
# ckanext-validation
ckanext.validation.run_on_update_async = False
ckanext.validation.run_on_create_async = False
# ckanext-ytp-comments
ckan.comments.moderation = False
ckan.comments.moderation.first_only = False
# Logging configuration
[loggers]
keys = root, ckan, sqlalchemy, environment, datapreview
[handlers]
keys = console, dblog
[formatters]
keys = generic, dblog
[logger_root]
level = WARN
handlers = console
[logger_ckan]
qualname = ckan
handlers =
level = INFO
[logger_environment]
qualname = ckan.config.environment
handlers =
level = WARN
[logger_ckan_harvester]
qualname = ckanext.harvest
handlers = dblog
level = DEBUG
[logger_sqlalchemy]
handlers =
qualname = sqlalchemy.engine
level = WARN
[logger_datapreview]
qualname = ckan.lib.datapreview
handlers =
level = ERROR
[handler_console]
class = StreamHandler
args = (sys.stdout,)
level = NOTSET
formatter = generic
[handler_dblog]
class = ckanext.harvest.log.DBLogHandler
args = ()
level = DEBUG
formatter = dblog
[formatter_dblog]
format = %(message)s
[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s