hotosm / galaxy-api

Backend to fetch data from Underpass
https://galaxy-api.hotosm.org/latest/redoc
GNU Affero General Public License v3.0
14 stars 5 forks source link

Use Logger and set different levels in API #110

Closed kshitijrajsharma closed 2 years ago

kshitijrajsharma commented 2 years ago

Currently backend prints always the queries. There are multiple print statements that are not sure is needed within the production log. We could switch to using a logger and set different levels. cc: @JorgeMartinezG

kshitijrajsharma commented 2 years ago

Disabled all print statements ! Need more discussion whether to use file or not to store logging , need discussion on use cases !