Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging not working properly #117

Open
adborden opened this issue May 3, 2019 · 1 comment
Open

Logging not working properly #117

adborden opened this issue May 3, 2019 · 1 comment

Comments

@adborden
Copy link
Contributor

adborden commented May 3, 2019

Log statements are not being logged correctly despite the ckanext logger being configured correctly. Other extensions log properly.

Steps to reproduce

  1. Remove ckanext_geodatagov entry from the /etc/ckan/production.ini config
  2. sudo ckan --plugin=ckanext-geodatagov geodatagov clean-deleted

Expected

Log statements appear for extension:
2019-05-03 22:54:32,340 INFO [ckanext.geodatagov] Starting delete for clean-deleted

Actual

Log statements appear, but only for other extensions.

@adborden
Copy link
Contributor Author

adborden commented May 3, 2019

As a work-around, we configure a log handler just for ckanext.geodatagov and all loggers in the extension should use this exact name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant