From e015515245ae4697401ff3e610ee41ebd9cc44ef Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Thu, 12 Sep 2024 12:17:14 +0200 Subject: [PATCH] logging --- modules/http_host/http_host.py | 2 +- modules/tile_gen/tile_gen.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/http_host/http_host.py b/modules/http_host/http_host.py index 8486071..63a4062 100755 --- a/modules/http_host/http_host.py +++ b/modules/http_host/http_host.py @@ -100,7 +100,7 @@ def sync(force): On a new server this also takes care of everything, no need to run anything manually. """ - print(f'---\n{now}\nrunning full_sync') + print(f'---\n{now}\nstarting full_sync') full_sync(force) diff --git a/modules/tile_gen/tile_gen.py b/modules/tile_gen/tile_gen.py index 3144531..ebe0f3a 100755 --- a/modules/tile_gen/tile_gen.py +++ b/modules/tile_gen/tile_gen.py @@ -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)