aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-download
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-download')
-rwxr-xr-xwebmap-download2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-download b/webmap-download
index a4a6413..fc5ceee 100755
--- a/webmap-download
+++ b/webmap-download
@@ -133,7 +133,7 @@ def download(url, dest, dir_fd=None, headers={}, session=requests, progress=None
common.format_time(elapsed), common.format_bytes(int(size/elapsed)))
if __name__ == '__main__':
- logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
+ common.init_logger(app=os.path.basename(__file__), level=logging.INFO)
parser = argparse.ArgumentParser(description='Download or update GIS layers.')
parser.add_argument('--cachedir', default=os.curdir,