Default to INFO logging

[skip ci]
This commit is contained in:
Charles P. 2024-07-06 18:40:45 +02:00
parent 3e719f96de
commit 835397a6ba
Signed by untrusted user who does not match committer: aeris
GPG key ID: 1708D5CC4095E76B

View file

@ -1,4 +1,5 @@
import logging
import os
import sys
import csv
import osmium
@ -74,7 +75,10 @@ def generate_geojson(cities_per_institutions, output_file):
if __name__ == "__main__":
if os.getenv("RUNNER_DEBUG"):
logging.basicConfig(level=logging.DEBUG)
else:
logging.basicConfig(level=logging.INFO)
logging.info("Starting...")
if len(sys.argv) != 4: