aboutsummaryrefslogtreecommitdiffstats
path: root/webmap-import
diff options
context:
space:
mode:
Diffstat (limited to 'webmap-import')
-rwxr-xr-xwebmap-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/webmap-import b/webmap-import
index 1bb235a..5cfe003 100755
--- a/webmap-import
+++ b/webmap-import
@@ -1013,7 +1013,7 @@ def importSource2(lyr_dst, path, args={}, basedir=None, extent=None):
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='Extract and import GIS layers.')
parser.add_argument('--cachedir', default=None,