Default to INFO logging
[skip ci]
This commit is contained in:
parent
3e719f96de
commit
835397a6ba
1 changed files with 5 additions and 1 deletions
|
@ -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__":
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
if os.getenv("RUNNER_DEBUG"):
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
else:
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
logging.info("Starting...")
|
||||
if len(sys.argv) != 4:
|
||||
|
|
Loading…
Reference in a new issue