ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
77 stars 153 forks source link

Allow to setup logging via environment variables #246

Closed categulario closed 2 years ago

categulario commented 2 years ago

Currently there is no way of setting up the logging without modifying a file in the working tree of this repository. That means that maintaining datapusher up to date requires stashing, pulling and popping the stash instead of having a clean repository all the time.

This PR allows to read LOG_FILE and STDERR from environment variables and documents the new variables in the readme.

This PR actually requires https://github.com/ckan/ckan-service-provider/pull/56 to be merged, a version of it released and the requirements.txt file to be updated.