mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
logging
This commit is contained in:
@@ -26,7 +26,7 @@ def make_tiles(area, upload):
|
||||
Generate tiles for a given area, optionally upload it to the btrfs bucket
|
||||
"""
|
||||
|
||||
print(f'{now} starting make-tiles {area} upload: {upload}')
|
||||
print(f'---\n{now}\nstarting make-tiles {area} upload: {upload}')
|
||||
|
||||
run_folder = run_planetiler(area)
|
||||
make_btrfs(run_folder)
|
||||
@@ -42,7 +42,7 @@ def upload_area_(area):
|
||||
Upload all runs from a given area to the btrfs bucket
|
||||
"""
|
||||
|
||||
print(f'{now} starting upload-area {area}')
|
||||
print(f'---\n{now}\nstarting upload-area {area}')
|
||||
|
||||
upload_area(area)
|
||||
|
||||
@@ -53,7 +53,7 @@ def make_indexes():
|
||||
Make indexes for all buckets
|
||||
"""
|
||||
|
||||
print(f'{now} starting make-indexes')
|
||||
print(f'---\n{now}\nstarting make-indexes')
|
||||
|
||||
for bucket in ['ofm-btrfs', 'ofm-assets']:
|
||||
make_indexes_for_bucket(bucket)
|
||||
|
||||
Reference in New Issue
Block a user