Skip to content

Enable Errors

Enable Errors Saving

Enabled Errors storing

In CKAN INI file, need to add and modify few lines.

After handler_console section add:

[handler_selfinfoErrorHanlder]
class = ckanext.selfinfo.handlers.SelfinfoErrorHandler
level = ERROR
formatter = generic

In handlers modify the keys, example:

[handlers]
keys = console, selfinfoErrorHanlder

In logger_ckan modify handlers, example:

[logger_ckan]
level = INFO
handlers = console, selfinfoErrorHanlder
qualname = ckan
propagate = 0

In logger_ckanext modify handlers, example:

[logger_ckanext]
level = DEBUG
handlers = console, selfinfoErrorHanlder
qualname = ckanext
propagate = 0